simulateConnectionState method
Simulate a connection state change.
Implementation
void simulateConnectionState(ChatConnectionState state) {
_connected = state == ChatConnectionState.connected;
_connectionStateController.add(state);
}
Simulate a connection state change.
void simulateConnectionState(ChatConnectionState state) {
_connected = state == ChatConnectionState.connected;
_connectionStateController.add(state);
}