toBackupPolicy method

BackupPolicy toBackupPolicy()

Implementation

BackupPolicy toBackupPolicy() {
  switch (this) {
    case 'DEFAULT':
      return BackupPolicy.$default;
  }
  throw Exception('$this is not known in enum BackupPolicy');
}