toValue method
Implementation
String toValue() {
switch (this) {
case BackupState.createInProgress:
return 'CREATE_IN_PROGRESS';
case BackupState.ready:
return 'READY';
case BackupState.deleted:
return 'DELETED';
case BackupState.pendingDeletion:
return 'PENDING_DELETION';
}
}