toValue method
Implementation
String toValue() {
switch (this) {
case BackupStatus.creating:
return 'CREATING';
case BackupStatus.deleted:
return 'DELETED';
case BackupStatus.available:
return 'AVAILABLE';
}
}
String toValue() {
switch (this) {
case BackupStatus.creating:
return 'CREATING';
case BackupStatus.deleted:
return 'DELETED';
case BackupStatus.available:
return 'AVAILABLE';
}
}