MBPushMessageSavingUtility class
Utility class to convert push messages to JSON and initialize a message from a JSON
Constructors
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
-
jsonDictionaryForPushMessage(
MBPushMessage pushMessage) → Map< String, dynamic> - Converts a push to a JSON dictionary. @param pushMessage The push message to convert. @returns The Map that represent the push message.
-
pushMessageFromJsonDictionary(
Map< String, dynamic> jsonDictionary) → MBPushMessage - Creates and initializes a push message object from a JSON object. @param jsonDictionary The dictionary from the JSON. @returns The push message created.