TokenMessage class

A message targeting a specific registration token.

See Send to individual devices

Inheritance

Constructors

TokenMessage({required String token, Map<String, String>? data, Notification? notification, AndroidConfig? android, WebpushConfig? webpush, ApnsConfig? apns, FcmOptions? fcmOptions})

Properties

android AndroidConfig?
finalinherited
apns ApnsConfig?
finalinherited
data Map<String, String>?
finalinherited
fcmOptions FcmOptions?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
notification Notification?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
final
webpush WebpushConfig?
finalinherited

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