TokenMessage extension type
A message sent to a single device
- on
- Implemented types
- Available extensions
Constructors
- TokenMessage({required String token, JSObject? data, Notification? notification, AndroidConfig? android, WebpushConfig? webpush, ApnsConfig? apns, FcmOptions? fcmOptions})
- Constructor
Properties
- android → AndroidConfig?
-
The Android-specific options for messages sent through FCM
no setterinherited
- apns → ApnsConfig?
-
The APNs-specific options for messages sent through FCM
no setterinherited
- data → JSObject?
-
The data to send in this message
no setterinherited
- fcmOptions → FcmOptions?
-
Generic FCM options
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- notification → Notification?
-
The notification that will display to end users
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String
-
The FCM registration token to send the message to
no setter
- webpush → WebpushConfig?
-
The Webpush-specific options for messages sent through FCM
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