setUserConsent static method

Future<void> setUserConsent(
  1. bool value
)

Sets the user consent.

Implementation

static Future<void> setUserConsent(bool value) async {
  await _channel.invokeMethod('setUserConsent', value);
  _userConsent = value;
}