WeightedEdge<T> constructor

const WeightedEdge<T>(
  1. T source,
  2. T target,
  3. num weight
)

Implementation

const WeightedEdge(this.source, this.target, this.weight);