stream property

  1. @override
Stream<Datum> get stream
override

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

Implementation

@override
Stream<Datum> get stream =>
    Connectivity().onConnectivityChanged.map((ConnectivityResult event) =>
        ConnectivityDatum.fromConnectivityResult(event));