Mpesa constructor

Mpesa({
  1. required String shortCode,
  2. required String consumerKey,
  3. required String consumerSecret,
  4. String? initiatorName,
  5. String? securityCredential,
  6. String? passKey,
  7. ApplicationMode applicationMode = ApplicationMode.production,
  8. IdentifierType identifierType = IdentifierType.OrganizationShortCode,
})

Implementation

Mpesa({
  required this.shortCode,
  required this.consumerKey,
  required this.consumerSecret,
  this.initiatorName,
  this.securityCredential,
  this.passKey,
  this.applicationMode = ApplicationMode.production,
  this.identifierType = IdentifierType.OrganizationShortCode,
});