BareMetalBgpPeerConfig.fromJson constructor
BareMetalBgpPeerConfig.fromJson(
- Map json_
Implementation
BareMetalBgpPeerConfig.fromJson(core.Map json_)
: this(
asn: json_.containsKey('asn') ? json_['asn'] as core.String : null,
controlPlaneNodes: json_.containsKey('controlPlaneNodes')
? (json_['controlPlaneNodes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
ipAddress: json_.containsKey('ipAddress')
? json_['ipAddress'] as core.String
: null,
);