End2EndPayWebView constructor

const End2EndPayWebView({
  1. Key? key,
  2. required String apiKey,
  3. required String accessToken,
  4. required double amount,
  5. required String currency,
  6. required String reference,
  7. required String payerEmail,
  8. void onSuccess(
    1. String message
    )?,
  9. void onError(
    1. String message
    )?,
  10. void onCancel(
    1. String message
    )?,
})

Implementation

const End2EndPayWebView({
  super.key,
  required this.apiKey,
  required this.accessToken,
  required this.amount,
  required this.currency,
  required this.reference,
  required this.payerEmail,
  this.onSuccess,
  this.onError,
  this.onCancel,
});