setConsentGiven method

  1. @override
Future<void> setConsentGiven(
  1. bool value
)
override

Records whether the user has given (true) or withdrawn (false) consent.

Implementation

@override
Future<void> setConsentGiven(bool value) {
  return methodChannel.invokeMethod('setConsentGiven', {'value': value});
}