Hcx.fromJson constructor

Hcx.fromJson(
  1. Map json_
)

Implementation

Hcx.fromJson(core.Map json_)
    : this(
        fqdn: json_.containsKey('fqdn') ? json_['fqdn'] as core.String : null,
        internalIp: json_.containsKey('internalIp')
            ? json_['internalIp'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );