disconnectReason property
DisconnectionReason?
get
disconnectReason
Disconnection reason only in case where connection equals Connection.disconnectedAt
Implementation
DisconnectionReason? get disconnectReason => getIt.get<ConnectionService>().disconnectionReason;