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