getLinks method

Iterable<GraphLink> getLinks(
  1. Graph graph
)

Helper to get the links involved in this event from the graph.

Implementation

Iterable<GraphLink> getLinks(Graph graph) =>
    entityIds.map((id) => graph.getLink(id)).whereType<GraphLink>();