NotificationResponse class
Response from a notification action button click
Constructors
-
NotificationResponse({required String notificationId, String? actionId, Map<
String, dynamic> ? payload, Map<String, dynamic> ? actionPayload}) -
const
-
NotificationResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- actionId → String?
-
The action ID that was clicked (null if notification body was clicked)
final
-
actionPayload
→ Map<
String, dynamic> ? -
Payload from the action (if action was clicked)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- notificationId → String
-
The notification ID that was clicked
final
-
payload
→ Map<
String, dynamic> ? -
Payload from the notification
final
- 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited