Edge<T> constructor

const Edge<T>(
  1. T destination,
  2. double weight
)

Implementation

const Edge(this.destination, this.weight);