onConsentInfoUpdate property
void Function()?
onConsentInfoUpdate
getter/setter pair
Invoked by requestConsentInfoUpdate when it does NOT throw. Use it to flip canRequestAdsResult the way a real UMP info update does once the network is reachable — e.g. to model an offline launch (set consentUpdateError, leave canRequestAdsResult false) that later recovers (clear the error, set this to open the gate).
Implementation
void Function()? onConsentInfoUpdate;