toLicenseDeletionStatus method

LicenseDeletionStatus toLicenseDeletionStatus()

Implementation

LicenseDeletionStatus toLicenseDeletionStatus() {
  switch (this) {
    case 'PENDING_DELETE':
      return LicenseDeletionStatus.pendingDelete;
    case 'DELETED':
      return LicenseDeletionStatus.deleted;
  }
  throw Exception('$this is not known in enum LicenseDeletionStatus');
}