JsRazorpay constructor
JsRazorpay({
- required Map options,
- required dynamic onFailed(
- dynamic
Implementation
JsRazorpay({
required Map<dynamic, dynamic> options,
required Function(dynamic) onFailed,
}) : razorpay = Razorpay(
jsify(options),
)..on(
'payment.failed',
allowInterop(onFailed),
);