toAcceptanceType method

AcceptanceType toAcceptanceType()

Implementation

AcceptanceType toAcceptanceType() {
  switch (this) {
    case 'ACCEPT':
      return AcceptanceType.accept;
    case 'REJECT':
      return AcceptanceType.reject;
  }
  throw Exception('$this is not known in enum AcceptanceType');
}