findClosestCity method

City? findClosestCity(
  1. GeoCoords target
)

Finds the City in this Country nearest to the target.

Returns: A City, if found, otherwise null

Implementation

City? findClosestCity(GeoCoords target) =>
    findClosestRegion(target)?.findClosestCity(target);