addHealthHeartRate method
Implementation
Future<ResultBase> addHealthHeartRate(int heartRate, {DateTime? time}) async {
var result = await _channel.invokeMethod('addHealthHeartRate', {
'heartRate': heartRate,
'time': (time ?? DateTime.now()).millisecondsSinceEpoch,
});
return ResultBase.fromJson(result);
}