Landmark constructor

Landmark({
  1. required Iterable<Point2D> locations,
  2. LandmarkType? type,
})

Implementation

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