BannerCache class

Mixed-in types

Properties

collapsibleBannerOptions CollapsibleBannerOptions?
Setting for Google collapsible banners. Default is null, meaning disabled support for collapsible banners.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
final
nextId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future<void>
Destroys the BannerCache, clearing all preloaded banner ads and canceling pending reload requests. For proper memory management, it needs to be called when the BannerCache is no longer needed. Destroyed BannerCache can no longer be used.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCollapsibleBannerOptions(CollapsibleBannerOptions value) Future<void>
Sets options for Google collapsible banners.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create({required BannerCacheConfiguration configuration}) Future<BannerCache>
Factory method creating banner cache.