gyroscopeEventStream function

  1. @override
Stream<GyroscopeEvent> gyroscopeEventStream({
  1. 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);
}