RouterNatSubnetworkToNat.fromJson constructor

RouterNatSubnetworkToNat.fromJson(
  1. Map json_
)

Implementation

RouterNatSubnetworkToNat.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        secondaryIpRangeNames: json_.containsKey('secondaryIpRangeNames')
            ? (json_['secondaryIpRangeNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sourceIpRangesToNat: json_.containsKey('sourceIpRangesToNat')
            ? (json_['sourceIpRangesToNat'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );