initializeSdk method

Future<void> initializeSdk({
  1. required String publishableKey,
  2. required Future<String?> clientSecretProvider(
    1. String customerId
    ),
})

Initializes the SDK with the provided publishable key and client secret provider.

publishableKey is the key used to authenticate with the Ansa API. clientSecretProvider is a function that provides the client secret for a given customer ID.

Implementation

Future<void> initializeSdk({
  required String publishableKey,
  required Future<String?> Function(String customerId) clientSecretProvider,
}) {
  throw UnimplementedError('initializeSdk() has not been implemented.');
}