copyWith method

WebApiModulesSettingsContactSettingsContactEventContactEvent copyWith({
  1. String? contactEventId,
  2. String? contactEvent,
  3. String? color,
  4. bool? whiteText,
  5. bool? recurring,
  6. bool? inactive,
  7. String? dateStamp,
  8. String? auditNote,
  9. String? recordTitle,
  10. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  11. List<FwStandardDataFwCustomValue>? custom,
  12. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  13. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsContactSettingsContactEventContactEvent copyWith(
    {String? contactEventId,
    String? contactEvent,
    String? color,
    bool? whiteText,
    bool? recurring,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsContactSettingsContactEventContactEvent(
      contactEventId: contactEventId ?? this.contactEventId,
      contactEvent: contactEvent ?? this.contactEvent,
      color: color ?? this.color,
      whiteText: whiteText ?? this.whiteText,
      recurring: recurring ?? this.recurring,
      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);
}