gyroscopeEventStream function
Stream<GyroscopeEvent>
gyroscopeEventStream({
- Duration samplingPeriod = SensorInterval.normalInterval,
Returns a broadcast stream of events from the device gyroscope at the given sampling frequency.
Implementation
@override
Stream<GyroscopeEvent> gyroscopeEventStream({
Duration samplingPeriod = SensorInterval.normalInterval,
}) {
return _sensors.gyroscopeEventStream(samplingPeriod: samplingPeriod);
}