UpdateBackupPlanOutput.fromJson constructor

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

Implementation

factory UpdateBackupPlanOutput.fromJson(Map<String, dynamic> json) {
  return UpdateBackupPlanOutput(
    advancedBackupSettings: (json['AdvancedBackupSettings'] as List?)
        ?.whereNotNull()
        .map((e) => AdvancedBackupSetting.fromJson(e as Map<String, dynamic>))
        .toList(),
    backupPlanArn: json['BackupPlanArn'] as String?,
    backupPlanId: json['BackupPlanId'] as String?,
    creationDate: timeStampFromJson(json['CreationDate']),
    versionId: json['VersionId'] as String?,
  );
}