ExternalVpnGatewayInterface.fromJson constructor
ExternalVpnGatewayInterface.fromJson(
- Object? j
Implementation
factory ExternalVpnGatewayInterface.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ExternalVpnGatewayInterface(
id: switch (json['id']) {
null => null,
Object $1 => decodeInt($1),
},
ipAddress: switch (json['ipAddress']) {
null => null,
Object $1 => decodeString($1),
},
ipv6Address: switch (json['ipv6Address']) {
null => null,
Object $1 => decodeString($1),
},
);
}