- NewStateMap: Creates a new map for managing state flags.
- SetState: Sets a specific state to true or false.
- IsState: Checks the current value of a state.
- ToggleState: Toggles the value of a state.
- HasState: Checks if a state exists in the map.
- NewMetadata: Creates a new metadata map for key-value storage.
- Update: Updates or adds a key-value pair to the metadata map.
- Value: Retrieves the value of a key from the metadata map.
- Has: Checks if a key exists in the metadata map.
For examples of each function, please checkout EXAMPLES.md