MBMessageSavingUtility class

Utility class to save messages as JSONs

Constructors

MBMessageSavingUtility()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

jsonDictionaryForMessage(MBMessage message) Map<String, dynamic>
Converts a message to a JSON map @param message The message to convert. @returns The JSON representation of the message.
messageFromJsonDictionary(Map<String, dynamic> jsonDictionary) → MBMessage
Creates and initializes a MBMessage from a JSON dictionary. @param jsonDictionary The JSON dictionary to convert. @returns The message created with the data of the JSON.