CalendarEventsCompanion.insert constructor

CalendarEventsCompanion.insert({
  1. Value<int> id = const Value.absent(),
  2. required int portalId,
  3. Value<DateTime?> start = const Value.absent(),
  4. Value<DateTime?> end = const Value.absent(),
  5. Value<bool> allDay = const Value.absent(),
  6. Value<String?> title = const Value.absent(),
  7. Value<String?> place = const Value.absent(),
  8. Value<String?> content = const Value.absent(),
  9. Value<String?> ownerName = const Value.absent(),
  10. Value<String?> creatorName = const Value.absent(),
})

Implementation

CalendarEventsCompanion.insert({
  this.id = const Value.absent(),
  required int portalId,
  this.start = const Value.absent(),
  this.end = const Value.absent(),
  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);