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