MeSendPushNotificationDisplay class
Displays tray notifications for FCM messages (notification or data-only).
Constructors
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
-
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 Methods
-
attachFirebaseListeners(
) → void - Attaches FCM foreground listeners.
-
ensureFirebaseInitializedForBackground(
{FirebaseOptions? options}) → Future< bool> - Initializes Firebase in a background isolate when needed.
-
ensureInitialized(
) → Future< void> - Initializes local notifications and attaches FCM foreground listeners.
-
ensureTrayDisplayReady(
{bool background = false}) → Future< void> -
Initializes
FlutterLocalNotificationsPluginfor tray display. -
handleRemoteMessage(
RemoteMessage message, {required String source}) → Future< void> -
Handles
RemoteMessagein foreground, background, or terminated flows. -
logPayload(
RemoteMessage message, String source) → void