copyWith method

WebApiModulesSettingsInventoryGroupInventoryInventoryGroupInventory copyWith({
  1. int? inventoryGroupInventoryId,
  2. String? inventoryGroupId,
  3. String? inventoryId,
  4. String? iCode,
  5. String? description,
  6. String? category,
  7. String? rank,
  8. double? orderBy,
  9. String? consignorId,
  10. String? consignor,
  11. String? dateStamp,
  12. String? auditNote,
  13. String? recordTitle,
  14. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  15. List<FwStandardDataFwCustomValue>? custom,
  16. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  17. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsInventoryGroupInventoryInventoryGroupInventory copyWith(
    {int? inventoryGroupInventoryId,
    String? inventoryGroupId,
    String? inventoryId,
    String? iCode,
    String? description,
    String? category,
    String? rank,
    double? orderBy,
    String? consignorId,
    String? consignor,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsInventoryGroupInventoryInventoryGroupInventory(
      inventoryGroupInventoryId:
          inventoryGroupInventoryId ?? this.inventoryGroupInventoryId,
      inventoryGroupId: inventoryGroupId ?? this.inventoryGroupId,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      category: category ?? this.category,
      rank: rank ?? this.rank,
      orderBy: orderBy ?? this.orderBy,
      consignorId: consignorId ?? this.consignorId,
      consignor: consignor ?? this.consignor,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}