check method

  1. @override
Future<bool> check({
  1. bool isCached = false,
})
override

Checks if consent is required, with an option to use cached results.

Implementation

@override
Future<bool> check({bool isCached = false}) async {
  return await methodChannel.invokeMethod('check', {'isCached': isCached}) ??
      false;
}