SnappedTracePoint class
Un punto de rastro ya pegado a la calle.
- Annotations
-
- @immutable
Constructors
- SnappedTracePoint({required LatLng snappedPosition, LatLng? originalPosition, double? confidence})
-
Crea el punto pegado.
const
Properties
- confidence → double?
-
Lo seguro que está el servicio de este punto, entre 0 y 1.
final
- displacementMeters → double?
-
Cuánto se movió el punto al pegarlo, en metros.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- originalPosition → LatLng?
-
La posición cruda que mandó el GPS.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snappedPosition → LatLng
-
La posición sobre la calle.
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
Static Methods
-
fromJson(
Map< String, dynamic> json) → SnappedTracePoint? -
Lee el punto de la respuesta del servicio, o
nullsi no trae posición.