DisbandedGameEvent class Null safety

Event that signals that white player did not make a move in the initial time period.

This event is only triggered by server to notify listeners on sockets that a game has been disbanded.

Inheritance

Constructors

DisbandedGameEvent()
Creates new DisbandedGameEvent object.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
isBroadcasted bool
Whether this event should be broadcasted or not. Events that are not broadcasted are only sent to opponent's socket.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type GameEventType
The type of this event. This is used to efficiently parse the game event data from received json.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, Object?>
Converts this object into json representation.
toString() String
A string representation of this object.
inherited

Operators

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