toICPRecordalStatus method

ICPRecordalStatus toICPRecordalStatus()

Implementation

ICPRecordalStatus toICPRecordalStatus() {
  switch (this) {
    case 'APPROVED':
      return ICPRecordalStatus.approved;
    case 'SUSPENDED':
      return ICPRecordalStatus.suspended;
    case 'PENDING':
      return ICPRecordalStatus.pending;
  }
  throw Exception('$this is not known in enum ICPRecordalStatus');
}