copyWith method

WebApiModulesHomeControlsInventoryConsignorInventoryConsignor copyWith({
  1. String? consignorId,
  2. String? consignorAgreementId,
  3. String? consignor,
  4. String? agreementNumber,
  5. String? agreementDescription,
  6. String? inventoryId,
  7. String? iCode,
  8. String? description,
  9. String? trackedBy,
  10. bool? treatConsignedQtyAsOwned,
  11. int? qtyConsigned,
  12. int? consignorPercent,
  13. int? housePercent,
  14. bool? flatRate,
  15. double? flatRateAmount,
  16. String? itemId,
  17. String? barCode,
  18. String? serialNumber,
  19. String? inventoryStatusId,
  20. String? inventoryStatus,
  21. String? inventoryStatusType,
  22. String? warehouseId,
  23. String? warehouse,
  24. String? warehouseCode,
  25. String? textColor,
  26. String? color,
  27. String? auditNote,
  28. String? recordTitle,
  29. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  30. List<FwStandardDataFwCustomValue>? custom,
  31. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  32. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsInventoryConsignorInventoryConsignor copyWith(
    {String? consignorId,
    String? consignorAgreementId,
    String? consignor,
    String? agreementNumber,
    String? agreementDescription,
    String? inventoryId,
    String? iCode,
    String? description,
    String? trackedBy,
    bool? treatConsignedQtyAsOwned,
    int? qtyConsigned,
    int? consignorPercent,
    int? housePercent,
    bool? flatRate,
    double? flatRateAmount,
    String? itemId,
    String? barCode,
    String? serialNumber,
    String? inventoryStatusId,
    String? inventoryStatus,
    String? inventoryStatusType,
    String? warehouseId,
    String? warehouse,
    String? warehouseCode,
    String? textColor,
    String? color,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsInventoryConsignorInventoryConsignor(
      consignorId: consignorId ?? this.consignorId,
      consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
      consignor: consignor ?? this.consignor,
      agreementNumber: agreementNumber ?? this.agreementNumber,
      agreementDescription: agreementDescription ?? this.agreementDescription,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      trackedBy: trackedBy ?? this.trackedBy,
      treatConsignedQtyAsOwned:
          treatConsignedQtyAsOwned ?? this.treatConsignedQtyAsOwned,
      qtyConsigned: qtyConsigned ?? this.qtyConsigned,
      consignorPercent: consignorPercent ?? this.consignorPercent,
      housePercent: housePercent ?? this.housePercent,
      flatRate: flatRate ?? this.flatRate,
      flatRateAmount: flatRateAmount ?? this.flatRateAmount,
      itemId: itemId ?? this.itemId,
      barCode: barCode ?? this.barCode,
      serialNumber: serialNumber ?? this.serialNumber,
      inventoryStatusId: inventoryStatusId ?? this.inventoryStatusId,
      inventoryStatus: inventoryStatus ?? this.inventoryStatus,
      inventoryStatusType: inventoryStatusType ?? this.inventoryStatusType,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouse: warehouse ?? this.warehouse,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      textColor: textColor ?? this.textColor,
      color: color ?? this.color,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}