PointOfInterest constructor

PointOfInterest(
  1. int layer,
  2. List<Tag> tags,
  3. ILatLong position
)

Creates a new PointOfInterest.

Implementation

PointOfInterest(this.layer, List<Tag> tags, this.position)
  : assert(layer >= -5),
    assert(layer <= 10),
    assert(tags.isNotEmpty),
    tags = TagCollection(tags: tags);