UNotificationEvent class
A tap, button press, reply or dismissal.
- Annotations
Constructors
-
UNotificationEvent({required UNotificationEventType type, required int id, String? actionId, String? input, Map<
String, Object?> ? payload}) -
const
-
UNotificationEvent.fromMap(Map<
Object?, Object?> m) -
Reads it from the native map.
factory
Properties
- actionId → String?
-
The button pressed (UNotificationAction.id); null for a plain tap.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Notification id.
final
- input → String?
-
Text typed into a reply field.
final
-
payload
→ Map<
String, Object?> ? -
Your payload from the request.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → UNotificationEventType
-
Tap, button, reply or dismissed.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited