model/topic_metadata library
Classes
- IdentifierMetaData
- Represents identifiable metadata with a key-value pair.
- MetaDataMessageList
- Represents a list of metadata associated with messages.
- MetaDataUserList
- Represents a list of metadata associated with users.
- TopicMetaData
- Represents metadata associated with a topic.
Extensions
- ExtractTopicData on TopicMetaData
- Provides an extension method to convert TopicMetaData to a map.
-
IdentifierMetaDataListToMap
on List<
IdentifierMetaData> - Provides an extension method to convert a list of IdentifierMetaData to JSON.
- IdentifierMetaDataToMap on IdentifierMetaData
- Provides an extension method to convert IdentifierMetaData to a map.
- MetaDataMessageListToMap on MetaDataMessageList
- Provides an extension method to convert MetaDataMessageList to a map.
- MetaDataUserListToMap on MetaDataUserList
- Provides an extension method to convert MetaDataUserList to a map.
Functions
-
identifierMetaDataFromJson(
String str) → List< IdentifierMetaData> - Parses a JSON string to a list of IdentifierMetaData.
-
identifierMetaDataToJson(
List< IdentifierMetaData> data) → String - Converts a list of IdentifierMetaData to a JSON string.