OfferwallPlatform class abstract

An abstract class that defines the interface for platform-specific implementations of the Offerwall SDK.

Inheritance
  • Object
  • PlatformInterface
  • OfferwallPlatform
Implementers

Constructors

OfferwallPlatform.new()
Constructs an instance of OfferwallPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
configure(String apiKey, {String? subId, String? userId}) Future<void>
Configures the Offerwall SDK with the provided apiKey.
launch() Future<void>
Launches the Offerwall.
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.
setUserId(String userId) Future<void>
Sets the user ID for tracking purposes.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance OfferwallPlatform
The default instance of OfferwallPlatform to use.
getter/setter pair