AndroidConfig class Null safety

Android specific options for messages sent through FCM connection server.

Constructors

AndroidConfig({String? collapseKey, Map<String, String>? data, bool? directBootOk, AndroidFcmOptions? fcmOptions, AndroidNotification? notification, String? priority, String? restrictedPackageName, String? ttl})
AndroidConfig.fromJson(Map _json)

Properties

collapseKey String?
An identifier of a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed. [...]
read / write
data Map<String, String>?
Arbitrary key/value payload. [...]
read / write
directBootOk bool?
If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode. [...]
read / write
fcmOptions AndroidFcmOptions?
Options for features provided by the FCM SDK for Android.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
notification AndroidNotification?
Notification to send to android devices.
read / write
priority String?
Message priority. [...]
read / write
restrictedPackageName String?
Package name of the application where the registration token must match in order to receive the message.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
ttl String?
How long (in seconds) the message should be kept in FCM storage if the device is offline. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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