NotificationFunctions class abstract mixin

A mixin that contains functions for sending notifications.

The functions are used in the CloudMessagingService class. You can call functions from this mixin as follows:

ref.read(cloudMessagingServiceProvider).terminatedNotificationHandler();
Implementers

Constructors

NotificationFunctions()

Properties

hashCode int
The hash code for this object.
no setterinherited
instance FirebaseMessaging
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

nonTerminatedNotificationStream() Stream<String?>
Streams notifications received while the app is in the background or foreground.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
terminatedNotificationHandler() Future<String?>
Checks if the app was opened from the terminated state by a notification
toString() String
A string representation of this object.
inherited

Operators

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