Node.fromJson constructor

Node.fromJson(
  1. Map json_
)

Implementation

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