initialize method

Future<bool> initialize(
  1. String publicKey,
  2. bool enableLogging
)

Configure payment using with: publickKey - gotten from the Paystack dashboard enableLogging - toggle if you need to view logs or not

Implementation

Future<bool> initialize(String publicKey, bool enableLogging) {
  return PaystackSDKPlatform.instance.initialize(publicKey, enableLogging);
}