GetSecretValueResponse.fromJson constructor
GetSecretValueResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetSecretValueResponse.fromJson(Map<String, dynamic> json) {
return GetSecretValueResponse(
arn: json['ARN'] as String?,
createdDate: timeStampFromJson(json['CreatedDate']),
name: json['Name'] as String?,
secretBinary: _s.decodeNullableUint8List(json['SecretBinary'] as String?),
secretString: json['SecretString'] as String?,
versionId: json['VersionId'] as String?,
versionStages: (json['VersionStages'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}