LoadShowAd<T> class abstract

Mixed in types
Implementers

Constructors

LoadShowAd({String? unitId, Duration loadTimeout = kDefaultLoadTimeout, Duration timeout = kDefaultAdTimeout, bool nonPersonalizedAds = kDefaultNonPersonalizedAds, ServerSideVerificationOptions? serverSideVerificationOptions = kServerSideVerification})

Properties

channel MethodChannel
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The unique key of this class
no setterinherited
isAvailable bool
no setter
isDisposed bool
no setter
isLoaded bool
Check if the ad is loaded
getter/setter pair
lastLoadedTime DateTime?
getter/setter pair
loadTimeout Duration
final
nonPersonalizedAds bool
final
onEvent Stream<Map<T, dynamic>>
no setter
onEventController StreamController<Map<T, dynamic>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverSideVerificationOptions ServerSideVerificationOptions?
final
timeout Duration
final
unitId String?
The unit id used on this ad. Can be null
final

Methods

dispose() → void
ensureAdAvailable() → void
ensureAdNotDisposed() → void
init() → void
load() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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