checkHealthAppAuthorization static method
Checks the user privacy authorization to Health Kit.
If the authorization has not been granted, the user will be redirected to the authorization screen where they can authorize the Huawei Health app to open data to Health Kit.
Implementation
static Future<void> checkHealthAppAuthorization() async {
await _channel.invokeMethod<void>(
'checkHealthAppAuthorization',
);
}