onFailure property

Future<void> Function(String error, String networkCode, String? address)? onFailure
final

A function that is called when the payment fails

Implementation

final Future<void> Function(
    String error, String networkCode, String? address)? onFailure;