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. dynamic urlIdentifier,
  13. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  14. List<FwStandardDataFwCustomValue>? custom,
  15. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  16. FwStandardBusinessLogicFwBusinessLogic? original,
  17. List<FwStandardDataFwTranslatedValue>? translation,
  18. bool? hasImport,
  19. String? createdByUserId,
  20. String? createdByUserName,
  21. String? createdDateTime,
  22. String? modifiedByUserId,
  23. String? modifiedByUserName,
  24. String? modifiedDateTime,
})

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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}