AdUtils class

Utility class for loading ads using Google Mobile Ads.

Provides helper methods to create and load Banner and Native ads.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

loadAd(String id, {void onLoaded()?}) → BannerAd
Loads a BannerAd with the given id.
loadNativeAd(String id, {void onLoaded()?}) → NativeAd
Loads a NativeAd with the given id.