weight property

double weight
getter/setter pair

Route cost/weight value at this node.

Example:

double weight = node.weight;
print("Node weight: $weight");

Implementation

double weight;