copyWith method

CalendarEventsCompanion copyWith({
  1. Value<int>? id,
  2. Value<int>? portalId,
  3. Value<DateTime?>? start,
  4. Value<DateTime?>? end,
  5. Value<bool>? allDay,
  6. Value<String?>? title,
  7. Value<String?>? place,
  8. Value<String?>? content,
  9. Value<String?>? ownerName,
  10. 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,
  );
}