stream property

  1. @override
Stream<LocationDatum> stream
override

The stream of Datum objects for this StreamProbe. Must be implemented by sub-classes.

Implementation

@override
Stream<LocationDatum> get stream => deviceManager.manager.onLocationChanged
    .map((location) => LocationDatum.fromLocation(location));