InterconnectsGetMacsecConfigResponse.fromJson constructor
InterconnectsGetMacsecConfigResponse.fromJson(
- Object? j
Implementation
factory InterconnectsGetMacsecConfigResponse.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return InterconnectsGetMacsecConfigResponse(
etag: switch (json['etag']) {
null => null,
Object $1 => decodeString($1),
},
result: switch (json['result']) {
null => null,
Object $1 => InterconnectMacsecConfig.fromJson($1),
},
);
}