Flutterwave constructor

Flutterwave({
  1. required BuildContext context,
  2. required String publicKey,
  3. required String txRef,
  4. required String amount,
  5. required Customer customer,
  6. required String paymentOptions,
  7. required Customization customization,
  8. required bool isTestMode,
  9. String? currency,
  10. String? paymentPlanId,
  11. required String redirectUrl,
  12. List<SubAccount>? subAccounts,
  13. Map? meta,
  14. FlutterwaveStyle? style,
})

Implementation

Flutterwave(
    {required this.context,
    required this.publicKey,
    required this.txRef,
    required this.amount,
    required this.customer,
    required this.paymentOptions,
    required this.customization,
    required this.isTestMode,
    this.currency,
    this.paymentPlanId,
    required this.redirectUrl,
    this.subAccounts,
    this.meta,
    this.style});