configure method

Future<void> configure(
  1. String apiKey, {
  2. String? subId,
  3. String? userId,
})

Configures the Offerwall SDK with the provided apiKey.

This method can also take optional parameters:

  • subId: An optional subscription ID for tracking.
  • userId: An optional user ID; if not provided, the SDK will generate one.

Throws an UnimplementedError if the platform-specific implementation has not been provided.

Implementation

Future<void> configure(String apiKey, {String? subId, String? userId}) {
  throw UnimplementedError('configure() has not been implemented.');
}