show static method

Future<bool> show(
  1. int adType, [
  2. String placement = "default"
])

Show adType advertising with placement

Returns true if ad can be shown with this placement, otherwise false.

Implementation

static Future<bool> show(int adType, [String placement = "default"]) async {
  return await _channel
          .invokeMethod('show', {'adType': adType, 'placement': placement}) ??
      false;
}