copyWith method
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,
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);
}