PlusCode class

Plus Code, or Open Location Code (OLC), is a geocode system for identifying any geographical area on Earth, even when a street address does not exist.

Ref: https://developers.google.com/maps/documentation/places/android-sdk/reference/com/google/android/libraries/places/api/model/PlusCode

Annotations
  • @freezed

Constructors

PlusCode({required String compoundCode, required String globalCode})
Constructs a PlusCode object.
const
factory
PlusCode.fromJson(Map<String, Object?> json)
Parse an PlusCode from json.
factory

Properties

compoundCode String
The compound plus code, e.g. "9G8F+5W Zurich, Switzerland".
no setterinherited
copyWith → $PlusCodeCopyWith<PlusCode>
no setterinherited
globalCode String
The geo plus code, e.g. "8FVC9G8F+5W".
no setterinherited
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
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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