PointOfInterest constructor

PointOfInterest({
  1. required int id,
  2. required String name,
  3. required String description,
  4. required String address,
  5. required String imageURL,
  6. required double latitude,
  7. required double longitude,
  8. String? customerID,
  9. double? levelID,
  10. required List<String> tags,
})

Implementation

PointOfInterest(
    {required this.id,
    required this.name,
    required this.description,
    required this.address,
    required this.imageURL,
    required this.latitude,
    required this.longitude,
    this.customerID,
    this.levelID,
    required this.tags
    }){
  coordinate = Coordinate(latitude: latitude, longitude: longitude, level: levelID);
}