NetworkPeering.fromJson constructor
NetworkPeering.fromJson(
- Map json_
Implementation
NetworkPeering.fromJson(core.Map json_)
: this(
autoCreateRoutes: json_.containsKey('autoCreateRoutes')
? json_['autoCreateRoutes'] as core.bool
: null,
exchangeSubnetRoutes: json_.containsKey('exchangeSubnetRoutes')
? json_['exchangeSubnetRoutes'] as core.bool
: null,
exportCustomRoutes: json_.containsKey('exportCustomRoutes')
? json_['exportCustomRoutes'] as core.bool
: null,
exportSubnetRoutesWithPublicIp:
json_.containsKey('exportSubnetRoutesWithPublicIp')
? json_['exportSubnetRoutesWithPublicIp'] as core.bool
: null,
importCustomRoutes: json_.containsKey('importCustomRoutes')
? json_['importCustomRoutes'] as core.bool
: null,
importSubnetRoutesWithPublicIp:
json_.containsKey('importSubnetRoutesWithPublicIp')
? json_['importSubnetRoutesWithPublicIp'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
network: json_.containsKey('network')
? json_['network'] as core.String
: null,
peerMtu: json_.containsKey('peerMtu')
? json_['peerMtu'] as core.int
: null,
stackType: json_.containsKey('stackType')
? json_['stackType'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
stateDetails: json_.containsKey('stateDetails')
? json_['stateDetails'] as core.String
: null,
);