CircleGeographicArea constructor

CircleGeographicArea({
  1. required int radius,
  2. 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:

Implementation

CircleGeographicArea({required this.radius, required this.centerCoordinates});