menu
geography package
documentation
earth.dart
RegionExtensions extension
RegionExtensions extension
dark_mode
light_mode
RegionExtensions
extension
Extension methods for interacting with
Region
instances.
on
Region
Properties
country
→
Country
The
Country
parenting this
Region
instance.
no setter
Methods
findClosestCity
(
GeoCoords
target
)
→
City
?
Finds the
City
in this
Region
nearest to the
target
.
search
(
String
value
, {
String
?
prefix
})
→
Iterable
<
GeoLocationNode
>
Finds the
City
instances with a name containing the
value
geography package
documentation
earth
RegionExtensions extension
earth library