toHttpEndpointS3BackupMode method

HttpEndpointS3BackupMode toHttpEndpointS3BackupMode()

Implementation

HttpEndpointS3BackupMode toHttpEndpointS3BackupMode() {
  switch (this) {
    case 'FailedDataOnly':
      return HttpEndpointS3BackupMode.failedDataOnly;
    case 'AllData':
      return HttpEndpointS3BackupMode.allData;
  }
  throw Exception('$this is not known in enum HttpEndpointS3BackupMode');
}