stepCountStream property

Stream<StepCount> stepCountStream

Returns the steps taken since last system boot. Events may come with a delay.

Implementation

static Stream<StepCount> get stepCountStream => _stepCountChannel
    .receiveBroadcastStream()
    .map((event) => StepCount._(event));