InterstitialConfig class
example:
key: "interstitial_ad"
value: {
"enable": true,
"ad_unit_id_android": "ca-app-pub-3940256099942544/1033173712",
"ad_unit_id_ios": "ca-app-pub-3940256099942544/4411468910",
"request_time_to_show": 3,
"fail_time_to_stop": 3,
"init_request_time": 0
}
- Inheritance
-
- Object
- BaseConfig
- InterstitialConfig
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- InterstitialConfig({bool enable = false, String adUnitIdAndroid = '', String adUnitIdIos = '', int requestTimeToShow = 10, int failTimeToStop = 3, int initRequestTime = 0})
-
InterstitialConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- adUnitId → String
-
no setterinherited
- adUnitIdAndroid ↔ String
-
getter/setter pairinherited
- adUnitIdIos ↔ String
-
getter/setter pairinherited
- enable ↔ bool
-
getter/setter pairinherited
- failTimeToStop → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initRequestTime → int
-
final
- requestTimeToShow → int
-
final
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited