hasVendor method

  1. @override
Future<bool> hasVendor(
  1. String id
)
override

Checks if there is consent for the specified vendor ID.

Implementation

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