InternalPushNotificationImpl class
- Implemented types
Constructors
- InternalPushNotificationImpl.new(NotificationManager notificationManager, String? previousToken)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- notificationManager → NotificationManager
-
final
- previousToken → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activate(
{required void onRead(Map< String, dynamic> ), required void onActivated(String?)}) → Future<void> -
activate remote push notification service when user is authenticated
override
-
addListener(
PayloadCallback listener) → void -
Add a listener which listens to changes when a push notification arrives when app is active state.
override
-
deactivate(
{required dynamic onDeactivated(String)}) → Future< void> -
deactivate remote push notification service when user is unauthenticated
override
-
markNotificationAsRead(
Map< String, dynamic> data) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeListener(
PayloadCallback listener) → void -
Remove a previously added listener.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited