unmodifiable property
Graph<V, E>
unmodifiable
Returns a graph that throws an exception when being modified.
Implementation
Graph<V, E> get unmodifiable =>
isUnmodifiable ? this : UnmodifiableGraph<V, E>(this);