ListBackupsOutput.fromJson constructor

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

Implementation

factory ListBackupsOutput.fromJson(Map<String, dynamic> json) {
  return ListBackupsOutput(
    backupSummaries: (json['BackupSummaries'] as List?)
        ?.whereNotNull()
        .map((e) => BackupSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    lastEvaluatedBackupArn: json['LastEvaluatedBackupArn'] as String?,
  );
}