onPaymentFailed property

dynamic Function(Exception)? onPaymentFailed
final

Callback triggered when the payment fails.

This receives an Exception describing the failure.

Implementation

final Function(Exception)? onPaymentFailed;