UsableSubnetwork.fromJson constructor
UsableSubnetwork.fromJson(
- Map json_
Implementation
UsableSubnetwork.fromJson(core.Map json_)
: this(
externalIpv6Prefix: json_.containsKey('externalIpv6Prefix')
? json_['externalIpv6Prefix'] as core.String
: null,
internalIpv6Prefix: json_.containsKey('internalIpv6Prefix')
? json_['internalIpv6Prefix'] as core.String
: null,
ipCidrRange: json_.containsKey('ipCidrRange')
? json_['ipCidrRange'] as core.String
: null,
ipv6AccessType: json_.containsKey('ipv6AccessType')
? json_['ipv6AccessType'] as core.String
: null,
network: json_.containsKey('network')
? json_['network'] as core.String
: null,
purpose: json_.containsKey('purpose')
? json_['purpose'] as core.String
: null,
role: json_.containsKey('role') ? json_['role'] as core.String : null,
secondaryIpRanges: json_.containsKey('secondaryIpRanges')
? (json_['secondaryIpRanges'] as core.List)
.map((value) => UsableSubnetworkSecondaryRange.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
stackType: json_.containsKey('stackType')
? json_['stackType'] as core.String
: null,
subnetwork: json_.containsKey('subnetwork')
? json_['subnetwork'] as core.String
: null,
);