calculateDistances method
Implementation
void calculateDistances(Coordinate clientCoordinate) {
for (final s in servers) {
s.distance = clientCoordinate.getDistanceTo(s.geoCoordinate);
}
}
void calculateDistances(Coordinate clientCoordinate) {
for (final s in servers) {
s.distance = clientCoordinate.getDistanceTo(s.geoCoordinate);
}
}