toPointInTimeRecoveryStatus method

PointInTimeRecoveryStatus toPointInTimeRecoveryStatus()

Implementation

PointInTimeRecoveryStatus toPointInTimeRecoveryStatus() {
  switch (this) {
    case 'ENABLED':
      return PointInTimeRecoveryStatus.enabled;
    case 'DISABLED':
      return PointInTimeRecoveryStatus.disabled;
  }
  throw Exception('$this is not known in enum PointInTimeRecoveryStatus');
}