showConsentIfNeeded method
Presents the consent screen only if it is required by the used CMP (for example if no user consent has been set yet).
Implementation
Future<void> showConsentIfNeeded() async {
try {
await AatkitFlutterPluginPlatform.instance.showConsentIfNeeded();
} on PlatformException catch (e) {
aatkitLog("PlatformException, error: $e");
}
}