onDisconnected property

(void Function({required Client client, RTMException? exception})?) onDisconnected
getter/setter pair

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;