onDisconnected property
The disconnected event of the client
, exception
is optional.
This event occurs, for example, when network of local environment unavailable.
Implementation
void Function({
required Client client,
RTMException? exception,
})? onDisconnected;