getTotalSteps method

Future<int> getTotalSteps(
  1. DateTime start,
  2. DateTime end
)

Implementation

Future<int> getTotalSteps(DateTime start, DateTime end) async {
  int? steps = await health.getTotalStepsInInterval(start, end);
  return steps ?? 0;
}