PushHandleStrategy<PT extends NotificationPayload> class
abstract
Abstract notification processing strategy.
Constructors
- PushHandleStrategy(PT payload)
Properties
- autoCancelable ↔ bool
-
Auto close notification.
getter/setter pair
- color ↔ String?
-
Path to string resource color notification icons
"@color/notificaion_icon_color_name".
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ String?
-
Path to string resource notification icons
"@mipmap/notificaion_icon_name".
getter/setter pair
- notificationChannelId ↔ String?
-
Android notification channel id.
getter/setter pair
- notificationChannelName ↔ String?
-
Android notification channel name
getter/setter pair
- ongoing ↔ bool
-
Non-removable notification.
Android only.
getter/setter pair
- payload → PT
-
Notification payload.
final
- playSound ↔ bool
-
Indicates if a sound should be played when the notification is displayed.
getter/setter pair
- presentAlert ↔ bool
-
Display an alert when the notification is triggered while app is in the
foreground.
iOS 10+ only.
getter/setter pair
- pushId ↔ int
-
Push id.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBackgroundProcess(
Map< String, dynamic> message) → void - Function that is called to process notification background.
-
onTapNotification(
→ void ) - Function that is called to process notification clicks.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited