ApnsConfig class

Represents the APNs-specific options that can be included in an Message. Refer to Apple documentation for various headers and payload fields supported by APNs.

Constructors

ApnsConfig({Map<String, String>? headers, ApnsPayload? payload, ApnsFcmOptions? fcmOptions, String? liveActivityToken})
Represents the APNs-specific options that can be included in an Message. Refer to Apple documentation for various headers and payload fields supported by APNs.

Properties

fcmOptions → ApnsFcmOptions?
Options for features provided by the FCM SDK for iOS.
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>?
A collection of APNs headers. Header values must be strings.
final
liveActivityToken → String?
APN pushToStartToken or pushToken to start or update live activities.
final
payload → ApnsPayload?
An APNs payload to be included in the message.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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