addHealthBloodOxygen method

Future<ResultBase> addHealthBloodOxygen(
  1. double bloodOxygen, {
  2. DateTime? time,
})

Implementation

Future<ResultBase> addHealthBloodOxygen(double bloodOxygen,
    {DateTime? time}) async {
  var result = await _channel.invokeMethod('addHealthBloodOxygen', {
    'bloodOxygen': bloodOxygen,
    'time': (time ?? DateTime.now()).millisecondsSinceEpoch,
  });
  return ResultBase.fromJson(result);
}