NotificationAction class
Describes an action button shown in a notification.
See: https://developer.mozilla.org/en-US/docs/Web/API/NotificationAction
Constructors
- NotificationAction({required String action, required String title, String? icon})
-
const
Properties
- action → String
-
A string identifying the user action to be displayed on the notification.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
A string containing the URL of an icon to display with the action.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
A string containing action text to be shown to the user.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited