ListPartsOutput.fromJson constructor
ListPartsOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ListPartsOutput.fromJson(Map<String, dynamic> json) {
return ListPartsOutput(
archiveDescription: json['ArchiveDescription'] as String?,
creationDate: json['CreationDate'] as String?,
marker: json['Marker'] as String?,
multipartUploadId: json['MultipartUploadId'] as String?,
partSizeInBytes: json['PartSizeInBytes'] as int?,
parts: (json['Parts'] as List?)
?.whereNotNull()
.map((e) => PartListElement.fromJson(e as Map<String, dynamic>))
.toList(),
vaultARN: json['VaultARN'] as String?,
);
}