CKNotificationAction class
Wrapper for JSNotificationAction
- Inheritance
-
- Object
- JSNotificationAction
- CKNotificationAction
Constructors
- CKNotificationAction({required String action, required String title, String? icon})
-
const
- CKNotificationAction.fromAction(String action, {String? icon})
-
factory
- CKNotificationAction.fromNotificationAction(CKCallAction value, {String? icon})
-
factory
Properties
- action → String
-
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/actions#action
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/actions#icon
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/actions#title
finalinherited
Methods
-
copyWith(
{String? action, String? title, String? icon}) → JSNotificationAction -
inherited
-
copyWithSelf(
JSNotificationAction other) → JSNotificationAction -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited