connect method
- String? url
Connects room to url (or the checker's default URL) unless it is
already connected.
Implementation
@protected
Future<Room> connect([String? url]) async {
if (room.connectionState == ConnectionState.connected) {
return room;
}
await room.connect(url ?? this.url, token, connectOptions: connectOptions);
return room;
}