toValue method
Implementation
String toValue() {
switch (this) {
case BackupType.automated:
return 'AUTOMATED';
case BackupType.manual:
return 'MANUAL';
}
}
String toValue() {
switch (this) {
case BackupType.automated:
return 'AUTOMATED';
case BackupType.manual:
return 'MANUAL';
}
}