read_data library

Functions

readPedometerData({required DateTime startTime, required DateTime endTime, DateTime? currentTime, Duration? batchInterval, bool normalizeDateTime = true, dynamic onStepEvent(StepEvent)?, dynamic onSubscriptionFail()?}) Future<List<StepEvent>>
Reads pedometer data from Android Health and returns the data as a list of StepEvent objects.