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,
      );