stream property
The stream of Measurement
objects for this StreamProbe.
Must be implemented by sub-classes.
Implementation
@override
Stream<Measurement> get stream =>
gyroscopeEventStream(samplingPeriod: samplingPeriod).map((event) =>
Measurement.fromData(Rotation(x: event.x, y: event.y, z: event.z)));