InterconnectLocationRegionInfo.fromJson constructor
InterconnectLocationRegionInfo.fromJson(
- Object? j
Implementation
factory InterconnectLocationRegionInfo.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return InterconnectLocationRegionInfo(
expectedRttMs: switch (json['expectedRttMs']) {
null => null,
Object $1 => decodeInt64($1),
},
l2ForwardingEnabled: switch (json['l2ForwardingEnabled']) {
null => null,
Object $1 => decodeBool($1),
},
locationPresence: switch (json['locationPresence']) {
null => null,
Object $1 => decodeString($1),
},
region: switch (json['region']) {
null => null,
Object $1 => decodeString($1),
},
);
}