MethodChannelOfferwall class
An implementation of OfferwallPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- OfferwallPlatform
- MethodChannelOfferwall
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkReward(
) → Future< String?> -
Checks for rewards and returns the reward value and conversions.
override
-
configure(
String apiKey, {String? subId, String? userId}) → Future< void> -
Configures the Offerwall SDK with the provided
apiKey
.override -
launch(
) → Future< void> -
Launches the Offerwall.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSubId(
String subId) → Future< void> -
Sets the subscription ID for tracking purposes.
override
-
setUserId(
String userId) → Future< void> -
Sets the user ID for tracking purposes.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited