hasUserChoice method

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

Checks if consent has been given.

Implementation

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