toBackupType method
Implementation
BackupType toBackupType() {
switch (this) {
case 'AUTOMATED':
return BackupType.automated;
case 'MANUAL':
return BackupType.manual;
}
throw Exception('$this is not known in enum BackupType');
}