show static method

void show(
  1. AdType adType, {
  2. String? tag,
})

Shows an ad of certain type adType.

Use the constants in the class AdType to specify what ad should be shown.

Returns true if the ad is shown.

Implementation

static void show(AdType adType, {String? tag}) {
  if (initialized.value) {
    _channel.invokeMethod('show', {
      'adType': adType.index,
      'tag': tag,
    });
  }
}