BannerConfig class
example:
key: "banner_ad"
value: {
"enable": true,
"ad_unit_id_android": "ca-app-pub-3940256099942544/6300978111",
"ad_unit_id_ios": "ca-app-pub-3940256099942544/2934735716",
"position": null,
"distance": null,
"width": 300,
"height": 250
}
- Inheritance
-
- Object
- BaseConfig
- BannerConfig
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
Properties
- adSize → AdSize
-
no setter
- adUnitId → String
-
no setterinherited
- adUnitIdAndroid ↔ String
-
getter/setter pairinherited
- adUnitIdIos ↔ String
-
getter/setter pairinherited
- distance → int?
-
final
- enable ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int?
-
final
- position → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int?
-
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