ConnectionInfo.fromJson constructor

ConnectionInfo.fromJson(
  1. Map json_
)

Implementation

ConnectionInfo.fromJson(core.Map json_)
    : this(
        instanceUid: json_.containsKey('instanceUid')
            ? json_['instanceUid'] as core.String
            : null,
        ipAddress: json_.containsKey('ipAddress')
            ? json_['ipAddress'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        publicIpAddress: json_.containsKey('publicIpAddress')
            ? json_['publicIpAddress'] as core.String
            : null,
      );