GoalItem class
Single level goal model representing one objective in a level HUD (FEAT-125).
Constructors
Properties
- current → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget
-
final
- id → String
-
final
- isCompleted → bool
-
Whether this goal has reached or exceeded its target.
no setter
- label → String
-
final
- remaining → int
-
Remaining count needed to complete this goal (clamped to >= 0).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → int
-
final
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