NotificationServices class
Constructors
Properties
- body ↔ String
-
getter/setter pair
- deepLink ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ String
-
getter/setter pair
- message ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String
-
getter/setter pair
Methods
-
firebaseInit(
BuildContext context, ) → void -
getData(
String? icon, String? title, String? message, String body) → void -
getDeviceToken(
) → Future< String?> -
handleMessage(
BuildContext context, RemoteMessage message) → void -
initLocalNotification(
BuildContext context, RemoteMessage message) → Future< void> -
isTokenRefresh(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestNotificationPermissions(
) → Future< void> -
sendPushNotification(
) → Future< void> -
sendRegistrationToken(
) → Future< void> -
setupInteractMessage(
BuildContext context, ) → Future< void> -
showNotification(
RemoteMessage message) → Future< void> -
subscribeToTopic(
String topic) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribeFromTopic(
String topic) → Future< void> -
updateStatus(
) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
backgroundMessage(
) → void