isParentById method

bool isParentById(
  1. V id
)

Implementation

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