PaystackGateway constructor

PaystackGateway({
  1. required String publicKey,
})

Creates a new PaystackGateway with the given Paystack public key.

Only use your pk_test_... or pk_live_... public key here. Do not embed secret keys in the client.

Implementation

PaystackGateway({required this.publicKey});