ActiveThread class
Constructors
- ActiveThread.from({required String id, required int xp, required Cohort cohort, required bool hasWon, required bool hasLost, required bool hasPromoted, required bool hasDemoted})
- Returns the new instance of ActiveThread based on arguments.
Properties
- cohort → Cohort
-
The cohort
final
- hasDemoted → bool
-
The flag that this user has demoted or not
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasLost → bool
-
The flag that this user has lost or not
final
- hasPromoted → bool
-
The flag that this user has promoted or not
final
- hasWon → bool
-
The flag that this user has won or not
final
- id → String
-
The id
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xp → int
-
The xp
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override