setConfig static method
Configures the PayEngine SDK with the provided public key and optional script URL.
publicKey: The public API key for authentication.scriptURL: (Optional) The base URL for the PayEngine SDK.
Implementation
static Future setConfig(String publicKey, String? scriptURL) async {
await _channel.invokeMethod(
"setConfig", {"publicKey": publicKey, "baseURL": scriptURL});
}