StageEvent class

Constructors

StageEvent({int? at, String? by, String? from, String? note, String? to})
Returns a new StageEvent instance.

Properties

at ↔ int?
At is the unix second of the move.
getter/setter pair
by ↔ String?
By is who moved it: "system" for intake and the AI auto-advance, else the validated staff user id.
getter/setter pair
from ↔ String?
From is the stage moved out of; empty on the intake event that opens the log.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
note ↔ String?
Note is the free-text comment recorded with the move. Absent when none.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to ↔ String?
To is the stage moved into.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → StageEvent?
Returns a new StageEvent instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<StageEvent>
mapFromJson(dynamic json) → Map<String, StageEvent>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<StageEvent>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.