VmwareIpBlock.fromJson constructor

VmwareIpBlock.fromJson(
  1. Map json_
)

Implementation

VmwareIpBlock.fromJson(core.Map json_)
    : this(
        gateway: json_.containsKey('gateway')
            ? json_['gateway'] as core.String
            : null,
        ips: json_.containsKey('ips')
            ? (json_['ips'] as core.List)
                .map((value) => VmwareHostIp.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        netmask: json_.containsKey('netmask')
            ? json_['netmask'] as core.String
            : null,
      );