Landmark.withCoordinates constructor

Landmark.withCoordinates(
  1. Coordinates coordinates
)

Creates a new landmark with the given coordinates

Implementation

factory Landmark.withCoordinates(final Coordinates coordinates) =>
    Landmark()..coordinates = coordinates;