copyWith method

WebApiModulesSettingsOrderSettingsMarketSegmentMarketSegment copyWith({
  1. String? marketSegmentId,
  2. String? marketSegment,
  3. String? marketTypeId,
  4. String? marketType,
  5. bool? inactive,
  6. String? dateStamp,
  7. String? auditNote,
  8. String? recordTitle,
  9. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  10. List<FwStandardDataFwCustomValue>? custom,
  11. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  12. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsOrderSettingsMarketSegmentMarketSegment copyWith(
    {String? marketSegmentId,
    String? marketSegment,
    String? marketTypeId,
    String? marketType,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsOrderSettingsMarketSegmentMarketSegment(
      marketSegmentId: marketSegmentId ?? this.marketSegmentId,
      marketSegment: marketSegment ?? this.marketSegment,
      marketTypeId: marketTypeId ?? this.marketTypeId,
      marketType: marketType ?? this.marketType,
      inactive: inactive ?? this.inactive,
      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);
}