onStateChanged abstract method
Records a connection-state transition. raw is the client's own state
object, retained as a stringified hint when present.
Implementation
void onStateChanged(WsConnectionState state, {String? url, Object? raw});
Records a connection-state transition. raw is the client's own state
object, retained as a stringified hint when present.
void onStateChanged(WsConnectionState state, {String? url, Object? raw});