disableHealthConnectIntegration static method
Future<void>
disableHealthConnectIntegration(
{ - required String connectionId,
})
Implementation
static Future<void> disableHealthConnectIntegration({
required String connectionId,
}) async {
if (!Platform.isAndroid) {
throw Exception('disableHealthConnectIntegration method is only available on Android');
}
final result = await _channel.invokeMethod('disableHealthConnectIntegration', {
'connectionId': connectionId,
});
ExceptionHandler.checkException(result);
}