FirebaseMessagingHandler class
A utility class for managing notifications, ensuring a single instance through the application lifecycle using the Singleton pattern.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkInitial(
) → Future< void> -
clearToken(
) → Future< void> - Removes the stored FCM token.
-
dispose(
) → Future< void> - Disposes of the notification utility resources.
-
init(
{required String senderId, required List< NotificationChannelData> androidChannelList, required String androidNotificationIconPath, Future<bool> updateTokenCallback(String fcmToken)?}) → Future<Stream< NotificationData?> ?> - Initializes the notification utility with necessary configurations.
-
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
- instance → FirebaseMessagingHandler
-
final