toValue method
Implementation
String toValue() {
switch (this) {
case BackupType.user:
return 'USER';
case BackupType.system:
return 'SYSTEM';
case BackupType.awsBackup:
return 'AWS_BACKUP';
}
}
String toValue() {
switch (this) {
case BackupType.user:
return 'USER';
case BackupType.system:
return 'SYSTEM';
case BackupType.awsBackup:
return 'AWS_BACKUP';
}
}