NotificationManagerImpl class
- Implemented types
Constructors
-
NotificationManagerImpl({required FlutterLocalNotificationsPlugin notificationClient, required NotificationPayload getNotificationPayload(Map<
String, dynamic> ), required NotificationConfig config})
Properties
- config → NotificationConfig
-
final
-
getNotificationPayload
↔ NotificationPayload Function(Map<
String, dynamic> ) -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- notificationClient → FlutterLocalNotificationsPlugin
-
final
-
final
- notificationRead ↔ VoidCallback?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
displayPopup(
String title, String body, Map< String, dynamic> message, dynamic onReadNotification(Map<String, dynamic> payload)) → Future<void> -
displays notification pop in ui when user is using the app
override
-
navigates user according to the payload in
message
override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onNotificationRead(
VoidCallback onNotificationRead) → void -
a listener which listens to changes when a push notification arrives when app is active state.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited