Landmark.withLatLng constructor

Landmark.withLatLng({
  1. required double latitude,
  2. required double longitude,
})

Creates a new landmark with the given latitude and longitude

Implementation

factory Landmark.withLatLng({
  required final double latitude,
  required final double longitude,
}) =>
    Landmark()
      ..coordinates = Coordinates(latitude: latitude, longitude: longitude);