GenericEvent.message constructor
Sends a message
from the player with id from
to the player with id to
Implementation
const factory GenericEvent.message(
String message, {
required PlayerID from,
required PlayerID? to,
}) = GameMessage;
Sends a message
from the player with id from
to the player with id to
const factory GenericEvent.message(
String message, {
required PlayerID from,
required PlayerID? to,
}) = GameMessage;