PaystackPayManager constructor

PaystackPayManager({
  1. required BuildContext context,
  2. required String secretKey,
  3. required String reference,
  4. required int amount,
  5. required String country,
  6. required String currency,
  7. required String email,
  8. required String firstName,
  9. required String lastName,
  10. Widget? companyAssetImage,
  11. dynamic metadata,
  12. required dynamic onSuccessful(
    1. Transaction
    ),
  13. required dynamic onPending(
    1. Transaction
    ),
  14. required dynamic onFailed(
    1. Transaction
    ),
  15. required dynamic onCancelled(
    1. Transaction
    ),
})

Implementation

PaystackPayManager({
  required this.context,
  required this.secretKey,
  required this.reference,
  required this.amount,
  required this.country,
  required this.currency,
  required this.email,
  required this.firstName,
  required this.lastName,
  this.companyAssetImage,
  this.metadata,
  required this.onSuccessful,
  required this.onPending,
  required this.onFailed,
  required this.onCancelled,
});