QueryLocationByTime<C extends GpsPointsView<P> , P extends GpsPoint> class
Finds the location at a specific time if available, or the nearest within a specified tolerance, returning it as a result of LocationByTime type.
This type of query can be used to e.g. show a marker on a map based on a selected moment in time.
- Inheritance
-
- Object
- Query<
C, LocationByTime< P> > - QueryLocationByTime
Constructors
- QueryLocationByTime(GpsTime time, int? toleranceSeconds)
-
Creates the query with
time
indicating at what time we want to find a location. The optionsltoleranceSeconds
, if provided, allows finding a location that is nearest totime
, within +/- the tolerance if no exact match is identified.
Properties
- 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
-
query(
C collection) → LocationByTime< P> -
Function that executes the actual query and returns the result.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited