hasVendorConsent method

  1. @override
Future<bool> hasVendorConsent(
  1. String id, {
  2. bool defaultReturn = true,
})
override

Checks if there is consent for the specified vendor ID.

Implementation

@override
Future<bool> hasVendorConsent(String id, {bool defaultReturn = true}) async {
  final result =
      await methodChannel.invokeMethod<bool>('hasVendorConsent', {'id': id});
  return result ?? false;
}