ListCauseAction class

Inheritance
Implementers
Annotations

Constructors

ListCauseAction({required int id, required String title, required CampaignActionType type, required ListCause cause, required bool completed, required double time, required DateTime createdAt, DateTime? releasedAt})
ListCauseAction.fromJson(Map<String, dynamic> data)
factory

Properties

cause → ListCause
The cause that this action is part of
final
completed → bool
Whether the user has completed this action
final
createdAt → DateTime
final
hashCode → int
The hash code for this object.
read-onlyinherited
icon → IconData
read-only
id → int
final
isNew → bool
read-only
primaryColor → Color
read-only
releasedAt → DateTime?
final
releaseTime → DateTime
When this action was released
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
secondaryColor → Color
read-only
superType → ActionType
The super type is a bigger category than the type - This is used for the styling.
read-only
tertiaryColor → Color
read-only
time → double
final
timeText → String
read-only
title → String
final
type → CampaignActionType
The type of the action
final

Methods

getAction() → Future<CampaignAction>
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