toOfferingType method

OfferingType toOfferingType()

Implementation

OfferingType toOfferingType() {
  switch (this) {
    case 'NO_UPFRONT':
      return OfferingType.noUpfront;
  }
  throw Exception('$this is not known in enum OfferingType');
}