initialize method

Future<void> initialize(
  1. String publicKey,
  2. String environment
)

Initializes the Risk SDK with the provided configuration.

Parameters:

  • publicKey: The public key provided by Checkout.com
  • environment: The environment to use ('sandbox' or 'production')

Throws:

Implementation

Future<void> initialize(String publicKey, String environment) async {
  throw UnimplementedError('initialize() has not been implemented.');
}