setOnHostReassigned method

void setOnHostReassigned(
  1. void callback(
    1. Player,
    2. Player
    )
)

Pass event function to be called when the host is reassigned.

Implementation

void setOnHostReassigned(void Function(Player, Player) callback) {
  if (_firebaseRoomCommunicator == null) return;
  _firebaseRoomCommunicator!.setOnHostReassigned(callback);
}