allowConsent static method
Implementation
static Future<SubmitConsentResult?> allowConsent(
String consentMessageId) async {
var consentMessage = await loadConsentMessage(consentMessageId);
consentMessage?.allowAll();
if (consentMessage != null) {
final result = await submitConsent(consentMessage);
return result;
}
return null;
}