onFailure property

dynamic Function(ESewaPaymentException exception) onFailure
final

This method will trigger if the payment is not successfull.

Implementation

final Function(ESewaPaymentException exception) onFailure;