writeBloodOxygen method

Future<bool> writeBloodOxygen({
  1. required double saturation,
  2. required DateTime start,
  3. required DateTime end,
  4. dynamic recordingMethod = RecordingMethod.automatic,
})

Implementation

Future<bool> writeBloodOxygen({
  required double saturation,
  required DateTime start,
  required DateTime end,
  recordingMethod = RecordingMethod.automatic,
}) {
  return health.writeBloodOxygen(
    saturation: saturation,
    startTime: start,
    endTime: end,
    recordingMethod: recordingMethod,
  );
}