LocationMarkerDataStreamFactory class

Helper class for converting the data stream which provide data in required format from stream created by some existing plugin.

Constructors

LocationMarkerDataStreamFactory()
Create a LocationMarkerDataStreamFactory.
const

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

defaultHeadingStreamSource() Stream<CompassEvent?>
Create a heading stream which is used as default value of CurrentLocationLayer.headingStream.
defaultPositionStreamSource({RequestPermissionCallback? requestPermissionCallback = Geolocator.requestPermission}) Stream<Position?>
Create a position stream which is used as default value of CurrentLocationLayer.positionStream.
fromCompassHeadingStream({Stream<CompassEvent?>? stream, double minAccuracy = pi * 0.1, double defAccuracy = pi * 0.3, double maxAccuracy = pi * 0.4}) Stream<LocationMarkerHeading?>
Cast to a heading stream from flutter_compass stream.
fromGeolocatorPositionStream({Stream<Position?>? stream}) Stream<LocationMarkerPosition?>
Cast to a position stream from geolocator stream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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