copyWith method

WebApiModulesWarehouseCheckOutAddMiscItemRequest copyWith({
  1. String? orderId,
  2. String? warehouseId,
  3. String? inventoryId,
  4. int? quantity,
  5. String? description,
})

Implementation

WebApiModulesWarehouseCheckOutAddMiscItemRequest copyWith({
  String? orderId,
  String? warehouseId,
  String? inventoryId,
  int? quantity,
  String? description,
}) {
  return WebApiModulesWarehouseCheckOutAddMiscItemRequest(
    orderId: orderId ?? this.orderId,
    warehouseId: warehouseId ?? this.warehouseId,
    inventoryId: inventoryId ?? this.inventoryId,
    quantity: quantity ?? this.quantity,
    description: description ?? this.description,
  );
}