toOutputLocationType method

OutputLocationType toOutputLocationType()

Implementation

OutputLocationType toOutputLocationType() {
  switch (this) {
    case 'CUSTOMER_BUCKET':
      return OutputLocationType.customerBucket;
    case 'SERVICE_BUCKET':
      return OutputLocationType.serviceBucket;
  }
  throw Exception('$this is not known in enum OutputLocationType');
}