FcmActionsInitResult class final

Constructors

FcmActionsInitResult({required NotificationPermission permission, String? token, String? apnsToken, bool supported = true})
Creates an initialization result.
const
FcmActionsInitResult.unavailable()
Result used when initialization did not complete.
const

Properties

apnsToken → String?
Apple Push Notification service token, if available.
final
authorized → bool
Whether notifications are authorized for this app instance.
no setter
hashCode → int
The hash code for this object.
no setterinherited
permission → NotificationPermission
Notification permission after initialize.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supported → bool
Whether FCM is supported on this platform/browser.
final
token → String?
Current FCM registration token, if one could be fetched.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited