CreateBackupPlanOutput.fromJson constructor

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

Implementation

factory CreateBackupPlanOutput.fromJson(Map<String, dynamic> json) {
  return CreateBackupPlanOutput(
    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?,
  );
}