NotificationController class
Wrapper over surf notifications.
Constructors
- NotificationController(OnPermissionDeclineCallback onPermissionDecline, {Notificator? transmittedNotificator})
Properties
-
callbackMap
↔ Map<
int, NotificationCallback> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- notificator ↔ Notificator
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
internalOnSelectNotification(
Map? payload) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermissions(
{bool? requestSoundPermission, bool? requestAlertPermission}) → Future< bool?> - Request notification permissions (iOS only).
-
show(
PushHandleStrategy< NotificationPayload> strategy, NotificationCallback onSelectNotification) → Future - Displaying notification from the strategy.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited