GeocodeMatch class
One landmark from landmarks.geocode. score is set for name searches,
distanceM for searches around an anchor.
Constructors
- GeocodeMatch({int? id, required String slug, required String name, String? nameLocal, required String kind, required String regionCode, required String source, required double confidence, required LatLng centroid, double? distanceM, double? score, String? street})
-
const
-
GeocodeMatch.fromJson(Map<
String, dynamic> json) -
factory
Properties
- centroid → LatLng
-
final
- confidence → double
-
final
- distanceM → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
final
- kind → String
-
final
- name → String
-
final
- nameLocal → String?
-
final
- regionCode → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double?
-
final
- slug → String
-
final
- source → String
-
final
- street → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited