CalendarEventsCompanion.insert constructor
CalendarEventsCompanion.insert({ - Value<int> id = const Value.absent(),
- required int portalId,
- required DateTime start,
- required DateTime end,
- Value<bool> allDay = const Value.absent(),
- Value<String?> title = const Value.absent(),
- Value<String?> place = const Value.absent(),
- Value<String?> content = const Value.absent(),
- Value<String?> ownerName = const Value.absent(),
- Value<String?> creatorName = const Value.absent(),
})
Implementation
CalendarEventsCompanion.insert({
this.id = const Value.absent(),
required int portalId,
required DateTime start,
required DateTime end,
this.allDay = const Value.absent(),
this.title = const Value.absent(),
this.place = const Value.absent(),
this.content = const Value.absent(),
this.ownerName = const Value.absent(),
this.creatorName = const Value.absent(),
}) : portalId = Value(portalId),
start = Value(start),
end = Value(end);