GoogleJsonHistoryDecoder class

Decoder for a stream of bytes from a Google location history JSON file to a stream of GpsPoint and/or GpsMeasurement instances.

Inheritance

Constructors

GoogleJsonHistoryDecoder({double? minSecondsBetweenDatapoints, double? accuracyThreshold})
Create the decoder with optional configuration parameters that can filter out undesired points, reducing the amount of data.

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

bind(Stream<List<int>> stream) Stream<GpsPoint>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(List<int> bytes, [int start = 0, int? end]) GpsPoint
The convert method cannot be called, because bytes may generate any number of GpsPoint entities, which can therefore not be returned as one single result.
override
fuse<TT>(Converter<GpsPoint, TT> other) Converter<List<int>, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<GpsPoint> sink) Sink<List<int>>
Starts a chunked conversion.
override
toString() String
A string representation of this object.
inherited

Operators

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