NotificationResponse class Null safety

Details of a Notification Action that was triggered.

Constructors

NotificationResponse({required NotificationResponseType notificationResponseType, int? id, String? actionId, String? input, String? payload})
Constructs an instance of NotificationResponse
const

Properties

actionId String?
The id of the action that was triggered.
final
hashCode int
The hash code for this object.
read-onlyinherited
id int?
The notification's id.
final
input String?
The value of the input field if the notification action had an input field.
final
notificationResponseType NotificationResponseType
The notification response type.
final
payload String?
The notification's payload.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited