copyWith method

WebApiModulesUtilitiesSplitQuantityInventorySplitQuantityInventory copyWith({
  1. int? id,
  2. String? sessionId,
  3. String? inventoryId,
  4. String? description,
  5. String? iCode,
  6. String? inventoryType,
  7. String? inventoryTypeId,
  8. String? category,
  9. String? categoryId,
  10. String? subCategory,
  11. String? subCategoryId,
  12. int? quantity,
  13. double? unitValue,
  14. double? extendedValue,
  15. String? dateStamp,
  16. String? auditNote,
  17. String? recordTitle,
  18. dynamic urlIdentifier,
  19. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  20. List<FwStandardDataFwCustomValue>? custom,
  21. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  22. FwStandardBusinessLogicFwBusinessLogic? original,
  23. List<FwStandardDataFwTranslatedValue>? translation,
  24. bool? hasImport,
  25. bool? hasDocuments,
  26. String? createdByUserId,
  27. String? createdByUserName,
  28. String? createdDateTime,
  29. String? modifiedByUserId,
  30. String? modifiedByUserName,
  31. String? modifiedDateTime,
})

Implementation

WebApiModulesUtilitiesSplitQuantityInventorySplitQuantityInventory copyWith({
  int? id,
  String? sessionId,
  String? inventoryId,
  String? description,
  String? iCode,
  String? inventoryType,
  String? inventoryTypeId,
  String? category,
  String? categoryId,
  String? subCategory,
  String? subCategoryId,
  int? quantity,
  double? unitValue,
  double? extendedValue,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesUtilitiesSplitQuantityInventorySplitQuantityInventory(
    id: id ?? this.id,
    sessionId: sessionId ?? this.sessionId,
    inventoryId: inventoryId ?? this.inventoryId,
    description: description ?? this.description,
    iCode: iCode ?? this.iCode,
    inventoryType: inventoryType ?? this.inventoryType,
    inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
    category: category ?? this.category,
    categoryId: categoryId ?? this.categoryId,
    subCategory: subCategory ?? this.subCategory,
    subCategoryId: subCategoryId ?? this.subCategoryId,
    quantity: quantity ?? this.quantity,
    unitValue: unitValue ?? this.unitValue,
    extendedValue: extendedValue ?? this.extendedValue,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}