setConsentInfoUpdateListener static method

void setConsentInfoUpdateListener(
  1. dynamic onConsentInfoUpdated(
    1. String event,
    2. String consent
    ),
  2. dynamic onFailedToUpdateConsentInfo(
    1. String event,
    2. String error
    )
)

Implementation

static void setConsentInfoUpdateListener(
    Function(String event, String consent) onConsentInfoUpdated,
    Function(String event, String error) onFailedToUpdateConsentInfo) {
  _onConsentInfoUpdated = onConsentInfoUpdated;
  _onFailedToUpdateConsentInfo = onFailedToUpdateConsentInfo;
}