PointOfInterest class

the presentation of point of interest (POI)

Constructors

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})

Properties

address String
the POI address
final
coordinate Coordinate
latefinal
customerID String?
final
description String
the POI description, generally in HTML script
final
hashCode int
The hash code for this object.
no setterinherited
id int
the POI identifier
final
imageURL String
the URL for POI image
final
latitude double
final
levelID double?
the POI level
final
longitude double
final
name String
the POI name
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>
related tags for this POI
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(dynamic poiMap) PointOfInterest