isSinkById method

bool isSinkById(
  1. V id
)

Implementation

bool isSinkById(V id) => !any((edge) => id == edge.endpoint1);