registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

static void registerWith(Registrar registrar) {
  final MethodChannel channel = MethodChannel(
    'rzpayment',
    const StandardMethodCodec(),
    registrar.messenger,
  );
  final RzpaymentPlugin instance = RzpaymentPlugin();
  channel.setMethodCallHandler(instance.handleMethodCall);
}