toRecoveryPointStatus method
Implementation
RecoveryPointStatus toRecoveryPointStatus() {
switch (this) {
case 'COMPLETED':
return RecoveryPointStatus.completed;
case 'PARTIAL':
return RecoveryPointStatus.partial;
case 'DELETING':
return RecoveryPointStatus.deleting;
case 'EXPIRED':
return RecoveryPointStatus.expired;
}
throw Exception('$this is not known in enum RecoveryPointStatus');
}