stream property
The stream of Measurement
objects for this StreamProbe
.
Must be implemented by sub-classes.
Implementation
@override
Stream<Measurement> get stream =>
connectivity.Connectivity().onConnectivityChanged.map((event) =>
Measurement.fromData(Connectivity.fromConnectivityResult(event)));