manageHealthConnect static method

Future<bool> manageHealthConnect({
  1. required String connectionId,
})

Implementation

static Future<bool> manageHealthConnect({
  required String connectionId,
}) async {
  if (!Platform.isAndroid) {
    return false;
  }

  final result = await _channel.invokeMethod('manageHealthConnect', {
    'connectionId': connectionId,
  });

  ExceptionHandler.checkException(result);

  return result == true;
}