SecretVersionsListEntry.fromJson constructor
Implementation
factory SecretVersionsListEntry.fromJson(Map<String, dynamic> json) {
return SecretVersionsListEntry(
createdDate: timeStampFromJson(json['CreatedDate']),
lastAccessedDate: timeStampFromJson(json['LastAccessedDate']),
versionId: json['VersionId'] as String?,
versionStages: (json['VersionStages'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}