Edge<V, E> constructor

const Edge<V, E>(
  1. V source,
  2. V target, {
  3. E? value,
})

Generative constructor.

Implementation

const Edge(this.source, this.target, {E? value}) : value = value as E;