PutSecretValueResponse.fromJson constructor

PutSecretValueResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PutSecretValueResponse.fromJson(Map<String, dynamic> json) {
  return PutSecretValueResponse(
    arn: json['ARN'] as String?,
    name: json['Name'] as String?,
    versionId: json['VersionId'] as String?,
    versionStages: (json['VersionStages'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}