fromJson static method
Returns a new SecretKeysResponse instance and imports
Implementation
// ignore: prefer_constructors_over_static_methods
static SecretKeysResponse fromJson(dynamic value) {
final json = value.cast<String, dynamic>();
return SecretKeysResponse(
secrets: json[r'secrets'] is List
? (json[r'secrets'] as List).cast<String>()
: null,
links: json[r'links'] == null
? null
: SecretKeysResponseAllOfLinks.fromJson(json[r'links']),
);
}