BroadcastMessage constructor
Creates a new BroadcastMessage, which can be sent using sendBroadcast.
Implementation
BroadcastMessage({
required this.name,
this.data,
}) : timestamp = DateTime.now(),
_receiverId = null;
Creates a new BroadcastMessage, which can be sent using sendBroadcast.
BroadcastMessage({
required this.name,
this.data,
}) : timestamp = DateTime.now(),
_receiverId = null;