NmTriageBoard class

State for the triage board.

Constructors

NmTriageBoard({List<NmTriageCard> queue = const [], Map<NmTriageZone, List<NmTriageCard>> categorized = const {}})
Creates a NmTriageBoard.
const

Properties

categorized → Map<NmTriageZone, List<NmTriageCard>>
Cards organized by zone.
final
currentCard → NmTriageCard?
Current card.
no setter
hashCode → int
The hash code for this object.
no setterinherited
queue → List<NmTriageCard>
Cards waiting to be triaged.
final
remainingCount → int
Remaining count.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addToZone(NmTriageCard card, NmTriageZone zone) → NmTriageBoard
Add to zone.
copyWith({List<NmTriageCard>? queue, Map<NmTriageZone, List<NmTriageCard>>? categorized}) → NmTriageBoard
Copy with.
countForZone(NmTriageZone zone) → int
Count for zone.
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