TransportDisconnected constructor

const TransportDisconnected({
  1. required String reason,
})

Creates a TransportDisconnected state with a human-readable reason.

Implementation

const TransportDisconnected({required this.reason});