LusciiSdkAction class
A Luscii action coming from the Luscii SDK.
Constructors
- LusciiSdkAction({required String id, required String name, required LusciiSdkLaunchableStatus launchableStatus, required bool isLaunchable, String? icon, DateTime? completedAt, bool? isPlanned, bool? isSelfCare, bool? isExtra})
-
Creates a new LusciiSdkAction with the given
id,name,launchableStatus, andisLaunchable. - LusciiSdkAction.fromMap(Map map)
-
Creates a new LusciiSdkAction from the given
map.factory
Properties
- completedAt → DateTime?
-
The date and time when the action was completed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
The icon of the action.
final
- id → String
-
The unique identifier of the action.
final
- isExtra → bool?
-
Whether this is a planned action that was completed as
an extra self-care action.
Note that this only works on Android
final
- isLaunchable → bool
-
Whether the action is launchable.
final
- isPlanned → bool?
-
Whether this action is planned.
Note that this only works on Android
final
- isSelfCare → bool?
-
Whether this is a self-care action, meaning it was returned
from Luscii.getSelfCareActions.
Note that isPlanned can still be true if isSelfCare is true.
Note that this only works on Android
final
- launchableStatus → LusciiSdkLaunchableStatus
-
The status of the action.
final
- name → String
-
The name of the action.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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