W3WSquare class

Contains information about one of the squares in the what3words geocode system.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Constructors

W3WSquare(GeoBox square, GeoCoordinates coordinates, String words, String languageCode)

Properties

coordinates GeoCoordinates
The center of the square.
getter/setter pair
countryCode ↔ String?
Country that contains the square. Not set if the square is in an area not governed by a specific country, such as international waters, Antarctica, some uninhabited islands etc.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
languageCode ↔ String
The language code of the words as an ISO 639-1 2 letter code. Each supported language has its own set of words for each of the squares in the what3words geocode system. For Bosnian-Croatian-Montenegrin-Serbian, a special code "oo" is used.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
square GeoBox
A 3-by-3-metre square defined by the what3words geocode system.
getter/setter pair
words ↔ String
3 word address of the square, for example "///wage.mere.heap".
getter/setter pair

Methods

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.