stop method Null safety

Future<void> stop()

Stops the workout session and sensor data collection.

Returns Future.error if stopping the session fails.

Implementation

Future<void> stop() {
  return _session.stop();
}