RemoteMessageBuilder class
Constructors
Properties
- collapseKey ↔ String?
-
getter/setter pair
-
data
↔ Map<
String, String> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId ↔ String?
-
getter/setter pair
- messageType ↔ String?
-
getter/setter pair
- receiptMode ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendMode ↔ int
-
getter/setter pair
- to ↔ String?
-
getter/setter pair
- ttl ↔ int?
-
getter/setter pair
Methods
-
addData(
String key, String value) → RemoteMessageBuilder - Adds key-value pair data to a message.
-
clearData(
) → RemoteMessageBuilder - Deletes message data.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCollapseKey(
String collapseKey) → RemoteMessageBuilder - Sets the classification identifier of a message.
-
setData(
Map< String, String> dataMap) → RemoteMessageBuilder - Sets Map data to a message.
-
setMessageId(
String messageId) → RemoteMessageBuilder - Sets the ID of a message.
-
setMessageType(
String messageType) → RemoteMessageBuilder - Sets the type of a message.
-
setReceiptMode(
int receiptMode) → RemoteMessageBuilder - Sets the receipt capability after an uplink message is sent to the app server.
-
setSendMode(
int sendMode) → RemoteMessageBuilder - Sets whether to enable the message cache and resending capability of the Push Kit client.
-
setTtl(
int ttl) → RemoteMessageBuilder - Sets the maximum cache duration of a message, in seconds.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited