copyWith method

WebApiModulesAgentPurchaseOrderReceiveContractRequest copyWith({
  1. String? purchaseOrderId,
  2. String? officeLocationId,
  3. String? warehouseId,
})

Implementation

WebApiModulesAgentPurchaseOrderReceiveContractRequest copyWith(
    {String? purchaseOrderId,
    String? officeLocationId,
    String? warehouseId}) {
  return WebApiModulesAgentPurchaseOrderReceiveContractRequest(
      purchaseOrderId: purchaseOrderId ?? this.purchaseOrderId,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      warehouseId: warehouseId ?? this.warehouseId);
}