PlusCode class abstract

An encoded location reference, derived from latitude and longitude coordinates, that represents an area, 1/8000th of a degree by 1/8000th of a degree (about 14m x 14m at the equator) or smaller. Plus codes can be used as a replacement for street addresses in places where they do not exist (where buildings are not numbered or streets are not named).

Properties:

  • globalCode - The global_code is a 4 character area code and 6 character or longer local code (849VCWC8+R9).
  • compoundCode - The compound_code is a 6 character or longer local code with an explicit location (CWC8+R9, Mountain View, CA, USA). Some APIs may return an empty string if the compound_code is not available.

Constructors

PlusCode([void updates(PlusCodeBuilder b)])
factory

Properties

compoundCode String?
The compound_code is a 6 character or longer local code with an explicit location (CWC8+R9, Mountain View, CA, USA). Some APIs may return an empty string if the compound_code is not available.
no setter
globalCode String
The global_code is a 4 character area code and 6 character or longer local code (849VCWC8+R9).
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PlusCodeBuilder)) PlusCode
Rebuilds the instance.
inherited
toBuilder() PlusCodeBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<PlusCode>
no setter