AndroidRemoteNotification class
A Remote Notification message that is sent to Android devices.
Constructors
- AndroidRemoteNotification({bool? mutableContent, AndroidNotificationV2? notification, bool? useAsV1DataMessage})
- AndroidRemoteNotification.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mutableContent ↔ bool?
-
If set to true, the notification content can be updated by the app after
the notification is received on the device.
getter/setter pair
- notification ↔ AndroidNotificationV2?
-
Notification to send to Android devices.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useAsV1DataMessage ↔ bool?
-
If set to
true, this RemoteNotification message will be delivered to legacy V1 clients as a data message by omitting the google.firebase.fcm.v1.AndroidRemoteNotification.notification.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited