AwesomeNotificationsFcm class

Properties

hashCode int
The hash code for this object.
no setterinherited
isFirebaseAvailable Future<bool>
FIREBASE METHODS ********************************************* Check if firebase is fully available on the project
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteToken() Future<bool>
initialize({required PushTokenHandler onFcmTokenHandle, required FcmSilentDataHandler onFcmSilentDataHandle, List<String>? licenseKeys, PushTokenHandler? onNativeTokenHandle, bool debug = false}) Future<bool>
INITIALIZING METHODS ********************************************* Initializes the plugin, setting the onFcmTokenHandle and onFcmSilentDataHandle listeners to capture Firebase Messaging events and the licenseKeys necessary to validate the release use of this plugin. You should call this method only once at main_complete.dart. debug: enables the console log prints
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestFirebaseAppToken() Future<String>
Gets the firebase cloud messaging token
subscribeToTopic(String topic) Future<bool>
toString() String
A string representation of this object.
inherited
unsubscribeToTopic(String topic) Future<bool>

Operators

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

Static Properties

isInitialized → dynamic
no setter