initialize method
Initializes the Risk SDK with the provided configuration.
Parameters:
publicKey
: The public key provided by Checkout.comenvironment
: The environment to use ('sandbox' or 'production')
Throws:
- ArgumentError if parameters are invalid
- CheckoutRiskException if initialization fails
Implementation
Future<void> initialize(String publicKey, String environment) async {
throw UnimplementedError('initialize() has not been implemented.');
}