copyWith method

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

Implementation

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