TurnStarted class

Emitted when a new turn begins.

Inheritance

Constructors

TurnStarted({required int turnNumber, DateTime? at, String? message})
Creates the event.

Properties

at DateTime
Timestamp when the event was emitted.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
Optional human-readable summary.
finalinherited
name String
Stable enum-like name for logging and snapshots.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
turnNumber int
1-based turn ordinal within the worker session.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON view used by the snapshot/dashboard.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited