Payment constructor
Payment({
- required MethodChannel channel,
- required IStoneHandler paymentHandler,
- IStoneSmartHandler? iStoneSmartHandler,
Implementation
Payment({
required this.channel,
required this.paymentHandler,
this.iStoneSmartHandler,
}) {
channel.setMethodCallHandler((e) => IStoneHelper.callHandler(
call: e,
iStoneHandler: paymentHandler,
stoneSmartHandler: iStoneSmartHandler,
));
}