PushNotificationStatus class

Push notification status object.

Properties

areNotificationsAllowed bool
If notifications are allowed at the system level for the application.
final
hashCode int
The hash code for this object.
no setterinherited
isOptedIn bool
If Airship is able to send and display a push notification.
final
isPushPrivacyFeatureEnabled bool
If the push feature is enabled on PrivacyManager.
final
isPushTokenRegistered bool
If push registration was able to generate a token.
final
isUserNotificationsEnabled bool
If user notifications are enabled.
final
isUserOptedIn bool
Checks for isUserNotificationsEnabled, areNotificationsAllowed, and isPushPrivacyFeatureEnabled. If this flag is true but isOptedIn is false, that means push token was not able to be registered.
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.
override

Operators

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

Static Methods

fromJson(dynamic json) PushNotificationStatus