Landmark.withCoordinates constructor
- Coordinates coordinates
Creates a landmark from an existing Coordinates object.
Parameters
coordinates: The Coordinates instance that defines the landmark's centroid.
Implementation
factory Landmark.withCoordinates(final Coordinates coordinates) =>
Landmark()..coordinates = coordinates;