CircleGeographicArea constructor
CircleGeographicArea({
- required int radius,
- required Coordinates centerCoordinates,
Creates a circular geographic area with specified center and radius.
Constructs a circle defined by a center coordinate point and a radius measured in meters. The resulting area includes all points within the specified distance from the center point.
Parameters
radius: The radius of the circle in meters. Must be non-negative.centerCoordinates: The Coordinates of the circle's center point.
See also:
- GeographicArea: Abstract base class for geographic areas.
Implementation
CircleGeographicArea({required this.radius, required this.centerCoordinates});