EkmConnection.fromJson constructor

EkmConnection.fromJson(
  1. Map json_
)

Implementation

EkmConnection.fromJson(core.Map json_)
    : this(
        connectionError: json_.containsKey('connectionError')
            ? ConnectionError.fromJson(json_['connectionError']
                as core.Map<core.String, core.dynamic>)
            : null,
        connectionName: json_.containsKey('connectionName')
            ? json_['connectionName'] as core.String
            : null,
        connectionState: json_.containsKey('connectionState')
            ? json_['connectionState'] as core.String
            : null,
      );