shouldShowBanner static method

Future<bool> shouldShowBanner()

Determines whether or not a banner should be shown, based on settings in the OneTrust tenant & whether or not consent was gathered already.

Implementation

static Future<bool> shouldShowBanner() async {
  final bool shouldShowBanner =
      await _channel.invokeMethod('shouldShowBanner');
  return shouldShowBanner;
}