startGame method

Future<CheckResult> startGame()

Start a game. Can only be called by the host. Returns a result.

Implementation

Future<CheckResult> startGame() async {
  if (_firebaseRoomCommunicator == null) {
    throw Exception("A room has not been joined.");
  }
  return await _firebaseRoomCommunicator!.startGame();
}