setOnOtherEvent method

void setOnOtherEvent(
  1. void callback(
    1. Event
    )
)

Pass event function to be called when an other event is received.

Implementation

void setOnOtherEvent(void Function(Event) callback) {
  if (_firebaseRoomCommunicator == null) return;
  _firebaseRoomCommunicator!.setOnOtherEvent(callback);
}