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, num? levelID, required List<String> tags, String? mediaType, String? mediaURL, required List<ExtraMedia> extraMedias})

Properties

address → String
the POI address
final
coordinate ↔ Coordinate
latefinal
customerID → String?
final
description → String
the POI description, generally in HTML script
final
extraMedias → List<ExtraMedia>
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 → num?
the POI level
final
longitude → double
final
mediaType → String?
final
mediaURL → String?
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