aggregatedEvents method

Set<Event> aggregatedEvents(
  1. Timeline timeline,
  2. String type
)

Get all the aggregated event objects for a given type. To be able to do this you have to pass a timeline

Implementation

Set<Event> aggregatedEvents(Timeline timeline, String type) =>
    timeline.aggregatedEvents[eventId]?[type] ?? <Event>{};