setConnectionStateListener method Null safety
- {dynamic listener( )?}
Set the listener for connection state of the SDK. Will be fired when room is connected, disconnected, reconnecting, waiting for host to let inm etc
Implementation
void setConnectionStateListener({Function(String)? listener}){
_connectionStateListener = listener;
}