ConnectionStatus.fromJson constructor

ConnectionStatus.fromJson(
  1. Map json_
)

Implementation

ConnectionStatus.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );