BoxPayCheckout constructor

BoxPayCheckout({
  1. required BuildContext context,
  2. required String token,
  3. required dynamic onPaymentResult(
    1. PaymentResultObject
    ),
  4. bool? sandboxEnabled,
})

Implementation

BoxPayCheckout(
    {required this.context,
    required this.token,
    required this.onPaymentResult,
    bool? sandboxEnabled})
    : sandboxEnabled = sandboxEnabled ?? false,
      env = sandboxEnabled == true ? "sandbox-" : "";