MessageMetaData class
Represents metadata for a message.
This class is used to encapsulate key-value pairs that provide additional information about a message. It can be used for various purposes such as indicating message status, categorization, or any other metadata.
- Available extensions
Constructors
- MessageMetaData.new({required String key, required String value})
- Initializes a new instance of the MessageMetaData class.
-
MessageMetaData.fromJson(Map<
String, dynamic> json) -
Converts a JSON object into a MessageMetaData object.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a MessageMetaData object into a JSON object.
-
toMap(
) → Map< String, dynamic> -
Available on MessageMetaData, provided by the ExtractMessageMetaData extension
Converts a MessageMetaData object into a map. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited