cancelAuthorization static method

Future<void> cancelAuthorization(
  1. bool deleteData
)

Cancels all scopes granted to your app. You can specify whether to delete user data when the scopes are canceled.

Implementation

static Future<void> cancelAuthorization(
  bool deleteData,
) async {
  await _channel.invokeMethod<void>(
    'cancelAuthorization',
    deleteData,
  );
}