OnPaymentResult typedef

OnPaymentResult = FutureOr<void> Function(PaymentResult paymentResult, Khalti khalti)

Callback for when a successful or failed payment result is obtained.

Implementation

typedef OnPaymentResult = FutureOr<void> Function(
  PaymentResult paymentResult,
  Khalti khalti,
);