NotificationHelper class

Constructors

NotificationHelper()
factory

Properties

flutterLocalNotificationsPlugin → FlutterLocalNotificationsPlugin
final
hashCode int
The hash code for this object.
no setterinherited
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sp ↔ SharedPreferences?
getter/setter pair

Methods

createNotificationChannel() Future<void>
handleNotificationClick(String? jsonPayload) Future<void>
initialize(BuildContext context) Future<void>
initialized() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showImageNotification(String imageUrl, String msgid, String url) Future<void>
showLiveActivitiesNotification(String body, String msgId, String url) Future<void>
showRichCard(String msg, String msgid) Future<void>
showSelectedOptionDialog(String selectedOption) → void
showSuggestion(String msg, String msgid) Future<void>
showTextNotification(String title, String message, String msgid, String redirectUrl) Future<void>
showURLNotification(String title, String message, String url, String msgid) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

channelID → const String