Home constructor

const Home({
  1. Key? key,
  2. required Map<String, dynamic> paymentData,
  3. required String callbackUrl,
  4. String redirectType = 'GET',
  5. String? infos,
  6. required Function onPaymentSuccess,
  7. required Function onPaymentError,
})

Implementation

const Home(
    {super.key,
    required this.paymentData,
    required this.callbackUrl,
    this.redirectType = 'GET',
    this.infos,
    required this.onPaymentSuccess,
    required this.onPaymentError,
    });