showUserMessage static method

Future<void> showUserMessage()

Implementation

static Future<void> showUserMessage() async {
  var info = await UserMessagingPlatform.instance.requestConsentInfoUpdate();
  if (info.consentStatus == ConsentStatus.required) {
    await UserMessagingPlatform.instance.showConsentForm();
    await showAppTransparency();
  } else {
    await showAppTransparency();
  }
}