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