determineShortestPath method

void determineShortestPath(
  1. String destination, [
  2. String? start
])

Sets the path to the shortest path from start to destination

Implementation

void determineShortestPath(String destination, [String? start]) {
  path = getShortestPath(destination, start);
}