PaystackPayManager constructor
PaystackPayManager({
- required BuildContext context,
- required String secretKey,
- required String reference,
- required int amount,
- required String country,
- required String currency,
- required String email,
- required String firstName,
- required String lastName,
- Widget? companyAssetImage,
- dynamic metadata,
- required dynamic onSuccessful(),
- required dynamic onPending(),
- required dynamic onFailed(),
- required dynamic onCancelled(),
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,
});