FidMessage class
A message targeting a Firebase Installation ID (FID).
Use this target when migrating from FCM registration tokens to FIDs. See FCM registration token management.
Constructors
-
FidMessage({required String fid, Map<
String, String> ? data, Notification? notification, AndroidConfig? android, WebpushConfig? webpush, ApnsConfig? apns, FcmOptions? fcmOptions}) -
Creates a message for the non-empty Firebase Installation ID
fid.
Properties
- android → AndroidConfig?
-
finalinherited
- apns → ApnsConfig?
-
finalinherited
-
data
→ Map<
String, String> ? -
finalinherited
- fcmOptions → FcmOptions?
-
finalinherited
- fid → String
-
The Firebase Installation ID of the target device.
final
- 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
- webpush → WebpushConfig?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns the FCM HTTP v1 message payload.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited