BannerCacheConfiguration class
Used to set up BannerCache.
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
- BannerCacheConfiguration(String placementName, {int? size, CacheListener? listener})
- Creates the configuration object to be used when creating BannerCache
-
BannerCacheConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- listener ↔ CacheListener?
-
getter/setter pair
- placementName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int?
-
Maximum number of cached banners for this placement.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited