JsRazorpay constructor

JsRazorpay({
  1. required Map options,
  2. required dynamic onFailed(
    1. dynamic
    ),
})

Implementation

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