ZarliFlutterPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- ZarliFlutterPlatform
- Implementers
Constructors
- ZarliFlutterPlatform()
- Constructs a ZarliFlutterPlatform.
Properties
-
adEvents
→ Stream<
ZarliAdEvent> -
Stream of ad events (loaded, failed, showed, dismissed, reward earned).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disposeAd(
String adObjectId) → Future< void> - Disposes an ad object.
-
initialize(
{String? apiKey}) → Future< void> - Initializes the SDK.
-
loadInterstitialAd(
String adUnitId, String adObjectId) → Future< void> - Loads an interstitial ad.
-
loadRewardedAd(
String adUnitId, String adObjectId) → Future< void> - Loads a rewarded ad.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showInterstitialAd(
String adObjectId) → Future< void> - Shows a loaded interstitial ad.
-
showRewardedAd(
String adObjectId) → Future< void> - Shows a loaded rewarded ad.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ ZarliFlutterPlatform
-
The default instance of ZarliFlutterPlatform to use.
getter/setter pair