closeReason method
Implementation
String? closeReason() {
return ws.connection.state == Disconnected()
? (ws.connection.state as Disconnected).reason
: null;
}
String? closeReason() {
return ws.connection.state == Disconnected()
? (ws.connection.state as Disconnected).reason
: null;
}