copyWith method

WebApiModulesSettingsInventorySettingsAttributeAttribute copyWith({
  1. String? attributeId,
  2. String? attribute,
  3. String? inventoryTypeId,
  4. String? inventoryType,
  5. bool? numericOnly,
  6. int? valueCount,
  7. bool? inactive,
  8. String? dateStamp,
  9. String? auditNote,
  10. String? recordTitle,
  11. dynamic urlIdentifier,
  12. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  13. List<FwStandardDataFwCustomValue>? custom,
  14. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  15. FwStandardBusinessLogicFwBusinessLogic? original,
  16. List<FwStandardDataFwTranslatedValue>? translation,
  17. bool? hasImport,
  18. bool? hasDocuments,
  19. String? createdByUserId,
  20. String? createdByUserName,
  21. String? createdDateTime,
  22. String? modifiedByUserId,
  23. String? modifiedByUserName,
  24. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsInventorySettingsAttributeAttribute copyWith({
  String? attributeId,
  String? attribute,
  String? inventoryTypeId,
  String? inventoryType,
  bool? numericOnly,
  int? valueCount,
  bool? inactive,
  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 WebApiModulesSettingsInventorySettingsAttributeAttribute(
    attributeId: attributeId ?? this.attributeId,
    attribute: attribute ?? this.attribute,
    inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
    inventoryType: inventoryType ?? this.inventoryType,
    numericOnly: numericOnly ?? this.numericOnly,
    valueCount: valueCount ?? this.valueCount,
    inactive: inactive ?? this.inactive,
    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,
  );
}