toDeliverabilityTestStatus method

DeliverabilityTestStatus toDeliverabilityTestStatus()

Implementation

DeliverabilityTestStatus toDeliverabilityTestStatus() {
  switch (this) {
    case 'IN_PROGRESS':
      return DeliverabilityTestStatus.inProgress;
    case 'COMPLETED':
      return DeliverabilityTestStatus.completed;
  }
  throw Exception('$this is not known in enum DeliverabilityTestStatus');
}