getVendorConsent method
Parses the SharedPreferences string with key IABTCF_VendorConsents
to determine the consent status of the IAB vendor with the provided ID.
@param vendorId Vendor ID as defined in the Global Vendor List. @return ConsentStatus.accepted if the advertising entity has consent, ConsentStatus.denied if not, or ConsentStatus.undefined if VendorConsents is not available on disk. @see TCF Vendor List
Implementation
Future<ConsentStatus> getVendorConsent(int vendorId) async {
return casInternalBridge.getVendorConsent(vendorId);
}