PlusCode class
Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.
Documentation: https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places#pluscode
- Inheritance
- Available extensions
- Annotations
-
- @JsonSerializable()
- @CopyWith()
Constructors
- PlusCode.new({String? globalCode, String? compoundCode})
-
PlusCode.fromJson(Map<
String, dynamic> json) -
factory
Properties
- compoundCode → String?
-
Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing the
suffix of the global code and replacing the prefix with a formatted name
of a reference entity.
final
- copyWith → _$PlusCodeCWProxy
-
Available on PlusCode, provided by the $PlusCodeCopyWith extension
Returns a callable class that can be used as follows:instanceOfPlusCode.copyWith(...)
.no setter - globalCode → String?
-
Place's global (full) code, such as "9FWM33GV+HQ",
representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromJsonList(
List? jsonList) → List< PlusCode> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → PlusCode? -
override
-
fromJsonString(
String? json) → PlusCode? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< PlusCode> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFieldsMask(
{String? parentKey}) → List< String> -
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
inherited
-
toString(
) → String -
This is just to suggest children to implement a named constructor to
support creating objects fromJson(...) and fromJsonString(...) as easy as
T.build().fromJson(...) or T.build().fromJsonString(...)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited