GeoPlace class

GeoPlace struct represents a location object: such as a country, a city, a point of interest (POI) etc.

It can be used for PersonalPlace creation, in order to provide search on custom places.

Constructors

GeoPlace()

Properties

address Address
Address of the place Note: Address can have default value when no data is available.
getter/setter pair
business BusinessDetails
Business details Note: BusinessDetails can have default value when no data is available.
getter/setter pair
categories ↔ List<PlaceCategory>
List of corresponding categories Note: This list can be empty when no data is available.
getter/setter pair
externalIDs ↔ List<ExternalID>
Allows the client to set the id in their own system. The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
location LocationDetails?
Geographical details Note: Can be null when retrieved from a suggestion's place property.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title ↔ String
The localized title for the resource. Note: This String can be empty when no data is available.
getter/setter pair
type PlaceType
Specifies place type.
getter/setter pair
web WebDetails
Contains info and direct web links to corresponding items. Note: WebDetails can have default value when no data is available.
getter/setter pair

Methods

getID() → String
Allow the client to access GeoPlace id.
isMyPlace() → bool
Allow the client to access info about is it my place or not.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

makeMyPlace(String title, GeoCoordinates coordinates) GeoPlace
Creates a new instance of this class.