toBackupType method
Implementation
BackupType toBackupType() {
switch (this) {
case 'AUTOMATIC':
return BackupType.automatic;
case 'USER_INITIATED':
return BackupType.userInitiated;
case 'AWS_BACKUP':
return BackupType.awsBackup;
}
throw Exception('$this is not known in enum BackupType');
}