toInventoryDeletionStatus method

InventoryDeletionStatus toInventoryDeletionStatus()

Implementation

InventoryDeletionStatus toInventoryDeletionStatus() {
  switch (this) {
    case 'InProgress':
      return InventoryDeletionStatus.inProgress;
    case 'Complete':
      return InventoryDeletionStatus.complete;
  }
  throw Exception('$this is not known in enum InventoryDeletionStatus');
}