SORIAndroidNotificationAction class final

A notification action whose presence and label the app controls.

Use hidden to remove the action, or SORIAndroidNotificationAction.labeled for a custom (for example localized) label. Leave the option null to keep the SDK default.

Constructors

SORIAndroidNotificationAction.labeled(String label)
Shows the action with label. The label must not be blank.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
label → String?
Custom label; null only when visible is false.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visible → bool
Whether the action is shown.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

hidden → const SORIAndroidNotificationAction
Removes the action from the notification.