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