goBackToLobby method

Future<bool> goBackToLobby()

Function to go back to the lobby

Implementation

Future<bool> goBackToLobby() {
  return ref!.child("inLobby").set(true).then((value) => true);
}