VmwareHostConfig.fromJson constructor

VmwareHostConfig.fromJson(
  1. Map json_
)

Implementation

VmwareHostConfig.fromJson(core.Map json_)
    : this(
        dnsSearchDomains: json_.containsKey('dnsSearchDomains')
            ? (json_['dnsSearchDomains'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        dnsServers: json_.containsKey('dnsServers')
            ? (json_['dnsServers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        ntpServers: json_.containsKey('ntpServers')
            ? (json_['ntpServers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );