cancelAuthorizationWithScopes static method
Cancels certain Health Kit related scopes granted to your app.
Implementation
static Future<void> cancelAuthorizationWithScopes(
String appId,
List<Scope> scopes,
) async {
await _channel.invokeMethod<void>(
'cancelAuthorizationWithScopes',
<String, dynamic>{
'appId': appId,
'scopes': List<String>.from(
scopes.map((Scope e) => e.scopeStr),
),
},
);
}