PointOfInterest constructor
PointOfInterest({ - required int id,
- required String name,
- required String description,
- required String address,
- required String imageURL,
- required double latitude,
- required double longitude,
- String? customerID,
- double? levelID,
- 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);
}