OnMessage typedef
OnMessage =
FutureOr<void> Function(Khalti khalti, {Object? description, KhaltiEvent? event, bool? needsPaymentConfirmation, int? statusCode})
Callback for when any exceptions occur.
Implementation
typedef OnMessage = FutureOr<void> Function(
Khalti khalti, {
int? statusCode,
Object? description,
KhaltiEvent? event,
bool? needsPaymentConfirmation,
});