hasConsent method

  1. @override
Future<bool> hasConsent()
override

Checks if consent has been given.

Implementation

@override
Future<bool> hasConsent() async {
  final result = await methodChannel.invokeMethod<bool>('hasConsent');
  return result ?? false;
}