onSuccess property

Future<void> Function(String txHash, String networkCode, String? address)? onSuccess
final

A function that is called when the payment succeeds

Implementation

final Future<void> Function(
    String txHash, String networkCode, String? address)? onSuccess;