Landmark constructor
Landmark({
- required Iterable<
Point2D> locations, - LandmarkType? type,
Implementation
factory Landmark(
{required Iterable<Point2D> locations, LandmarkType? type}) =>
Landmark._(locations: locations, type: type?.value ?? undefined);