copyWith method

WebApiModulesSettingsUserSearchSettingsUserSearchSettings copyWith({
  1. String? webUserId,
  2. String? mode,
  3. String? resultFields,
  4. bool? disableAccessoryAutoExpand,
  5. bool? hideZeroQuantity,
  6. String? defaultSelect,
  7. String? defaultSortBy,
  8. bool? expandAccessoryOnQuantityIncrease,
  9. String? expandAccessoryBehavior,
  10. String? auditNote,
  11. String? recordTitle,
  12. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  13. List<FwStandardDataFwCustomValue>? custom,
  14. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  15. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsUserSearchSettingsUserSearchSettings copyWith(
    {String? webUserId,
    String? mode,
    String? resultFields,
    bool? disableAccessoryAutoExpand,
    bool? hideZeroQuantity,
    String? defaultSelect,
    String? defaultSortBy,
    bool? expandAccessoryOnQuantityIncrease,
    String? expandAccessoryBehavior,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsUserSearchSettingsUserSearchSettings(
      webUserId: webUserId ?? this.webUserId,
      mode: mode ?? this.mode,
      resultFields: resultFields ?? this.resultFields,
      disableAccessoryAutoExpand:
          disableAccessoryAutoExpand ?? this.disableAccessoryAutoExpand,
      hideZeroQuantity: hideZeroQuantity ?? this.hideZeroQuantity,
      defaultSelect: defaultSelect ?? this.defaultSelect,
      defaultSortBy: defaultSortBy ?? this.defaultSortBy,
      expandAccessoryOnQuantityIncrease: expandAccessoryOnQuantityIncrease ??
          this.expandAccessoryOnQuantityIncrease,
      expandAccessoryBehavior:
          expandAccessoryBehavior ?? this.expandAccessoryBehavior,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}