BasicEvent constructor

const BasicEvent(
  1. {@required Object id,
  2. @required String title,
  3. @required Color color,
  4. @required LocalDateTime start,
  5. @required LocalDateTime end}
)

Implementation

const BasicEvent({
  @required Object id,
  @required this.title,
  @required this.color,
  @required LocalDateTime start,
  @required LocalDateTime end,
})  : assert(title != null),
      super(id: id, start: start, end: end);