AndroidConfig class

Represents the Android-specific options that can be included in an Message.

Constructors

AndroidConfig({String? collapseKey, AndroidConfigPriority? priority, String? ttl, String? restrictedPackageName, Map<String, String>? data, AndroidNotification? notification, AndroidFcmOptions? fcmOptions})
Represents the Android-specific options that can be included in an Message.

Properties

collapseKey String?
Collapse key for the message. Collapse key serves as an identifier for a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed. A maximum of four different collapse keys may be active at any given time.
final
data Map<String, String>?
A collection of data fields to be included in the message. All values must be strings. When provided, overrides any data fields set on the top-level Message.
final
fcmOptions AndroidFcmOptions?
Options for features provided by the FCM SDK for Android.
final
hashCode int
The hash code for this object.
no setterinherited
notification AndroidNotification?
Android notification to be included in the message.
final
priority AndroidConfigPriority?
Priority of the message. Must be either normal or high.
final
restrictedPackageName String?
Package name of the application where the registration tokens must match in order to receive the message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ttl String?
How long (in seconds) the message should be kept in FCM storage if the device is offline.
final

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