Payment constructor

Payment({
  1. required MethodChannel channel,
  2. required PaymentHandler paymentHandler,
})

Implementation

Payment({
  required this.channel,
  required this.paymentHandler,
}) {
  channel.setMethodCallHandler(_callHandler);
}