copyWith method
CalendarEventsCompanion
copyWith({ - Value<int>? id,
- Value<int>? portalId,
- Value<DateTime?>? start,
- Value<DateTime?>? end,
- Value<bool>? allDay,
- Value<String?>? title,
- Value<String?>? place,
- Value<String?>? content,
- Value<String?>? ownerName,
- Value<String?>? creatorName,
})
Implementation
CalendarEventsCompanion copyWith({
Value<int>? id,
Value<int>? portalId,
Value<DateTime?>? start,
Value<DateTime?>? end,
Value<bool>? allDay,
Value<String?>? title,
Value<String?>? place,
Value<String?>? content,
Value<String?>? ownerName,
Value<String?>? creatorName,
}) {
return CalendarEventsCompanion(
id: id ?? this.id,
portalId: portalId ?? this.portalId,
start: start ?? this.start,
end: end ?? this.end,
allDay: allDay ?? this.allDay,
title: title ?? this.title,
place: place ?? this.place,
content: content ?? this.content,
ownerName: ownerName ?? this.ownerName,
creatorName: creatorName ?? this.creatorName,
);
}