toAccountGateStatus method

AccountGateStatus toAccountGateStatus()

Implementation

AccountGateStatus toAccountGateStatus() {
  switch (this) {
    case 'SUCCEEDED':
      return AccountGateStatus.succeeded;
    case 'FAILED':
      return AccountGateStatus.failed;
    case 'SKIPPED':
      return AccountGateStatus.skipped;
  }
  throw Exception('$this is not known in enum AccountGateStatus');
}