childrenOfById method

Map<V, Vertex<V>> childrenOfById(
  1. V id
)

Implementation

Map<V, Vertex<V>> childrenOfById(V id) {
  final vertex = vertices[id];
  if (vertex == null) return {};
  return childrenOf(vertex);
}