verticesByState method
Implementation
Map<V, VertexSnapshot<V>> verticesByState(SnapshotState state) =>
vertexSnapshots.entries.fold(
{}, (a, c) => {...a, if (c.value.state == state) c.key: c.value});
Map<V, VertexSnapshot<V>> verticesByState(SnapshotState state) =>
vertexSnapshots.entries.fold(
{}, (a, c) => {...a, if (c.value.state == state) c.key: c.value});