hasAggregatedEvents method

bool hasAggregatedEvents(
  1. Timeline timeline,
  2. String type
)

Get whether this event has aggregated events from a certain type To be able to do that you need to pass a timeline

Implementation

bool hasAggregatedEvents(Timeline timeline, String type) =>
    timeline.aggregatedEvents[eventId]?.containsKey(type) == true;