UpdateConnectionState.fromJson constructor
Parse from a json
Implementation
factory UpdateConnectionState.fromJson(Map<String, dynamic> json) =>
UpdateConnectionState(
state: ConnectionState.fromJson(json['state']),
extra: json['@extra'],
clientId: json['@client_id'],
);