Mpesa constructor

Mpesa({
  1. ENV env = ENV.sandbox,
  2. MarketCountry market = MarketCountry.vodacomTZN,
  3. required String apiKey,
  4. required String publicKey,
})

Constructor with optional parameters

Implementation

Mpesa(
    {this.env = ENV.sandbox,
    this.market = MarketCountry.vodacomTZN,
    required this.apiKey,
    required this.publicKey});