UpdateConnectionState constructor

const UpdateConnectionState({
  1. required ConnectionState state,
  2. dynamic extra,
  3. int? clientId,
})

The connection state has changed. This update must be used only to show a human-readable description of the connection state

Implementation

const UpdateConnectionState({
  required this.state,
  this.extra,
  this.clientId,
});