CampaignAction class
- Inheritance
-
- Object
- Explorable
- ListCauseAction
- CampaignAction
- Annotations
Constructors
- CampaignAction({required int id, required String title, required CampaignActionType type, required ListCause cause, required bool completed, required double time, required DateTime createdAt, DateTime? releasedAt, String? whatDescription, String? whyDescription, String? link})
-
CampaignAction.fromJson(Map<
String, dynamic> data) -
factory
Properties
- cause → ListCause
-
The cause that this action is part of
finalinherited
- completed → bool
-
Whether the user has completed this action
finalinherited
- createdAt → DateTime
-
finalinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- icon → IconData
-
read-onlyinherited
- id → int
-
finalinherited
- isNew → bool
-
read-onlyinherited
- link → String?
-
final
- primaryColor → Color
-
read-onlyinherited
- releasedAt → DateTime?
-
finalinherited
- releaseTime → DateTime
-
When this action was released
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- secondaryColor → Color
-
read-onlyinherited
- superType → ActionType
-
The super type is a bigger category than the type - This is used for the
styling.
read-onlyinherited
- tertiaryColor → Color
-
read-onlyinherited
- time → double
-
finalinherited
- timeText → String
-
read-onlyinherited
- title → String
-
finalinherited
- type → CampaignActionType
-
The type of the action
finalinherited
- whatDescription → String?
-
final
- whyDescription → String?
-
final
Methods
-
getAction(
) → Future< CampaignAction> -
inherited
-
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