copyWith method

WebApiModulesUtilitiesInventoryTransferUtilityTransferInventoryRequest copyWith({
  1. String? fromWarehouseId,
  2. String? toWarehouseId,
  3. String? itemId,
  4. String? locationId,
  5. String? departmentId,
  6. String? transferTypeId,
})

Implementation

WebApiModulesUtilitiesInventoryTransferUtilityTransferInventoryRequest
copyWith({
  String? fromWarehouseId,
  String? toWarehouseId,
  String? itemId,
  String? locationId,
  String? departmentId,
  String? transferTypeId,
}) {
  return WebApiModulesUtilitiesInventoryTransferUtilityTransferInventoryRequest(
    fromWarehouseId: fromWarehouseId ?? this.fromWarehouseId,
    toWarehouseId: toWarehouseId ?? this.toWarehouseId,
    itemId: itemId ?? this.itemId,
    locationId: locationId ?? this.locationId,
    departmentId: departmentId ?? this.departmentId,
    transferTypeId: transferTypeId ?? this.transferTypeId,
  );
}