addAll method

void addAll(
  1. DateTime date,
  2. List<T> events
)

Implementation

void addAll(DateTime date, List<T> events) {
  final eventsOfDate = this.events[date];
  if (eventsOfDate == null)
    this.events[date] = events;
  else
    eventsOfDate.addAll(events);
}