PushNotificationService class

Constructors

PushNotificationService.new()
factory

Properties

deviceToken String?
Expose FCM token getter
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

initialize(BuildContext context) Future<void>
Call this in your FirebaseService.init() after Firebase is initialized.
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

Static Properties

fcmToken String?
getter/setter pair

Static Methods

generateDeviceToken() Future<void>