stopGame method

Future<void> stopGame([
  1. Map<String, dynamic>? log
])

Stop the current game. Can only be called by the host.

Implementation

Future<void> stopGame([Map<String, dynamic>? log]) async {
  if (_firebaseRoomCommunicator == null) return;
  await _firebaseRoomCommunicator!.stopGame(log);
}