onResponse property

void Function(String?)? onResponse
final

Optional callback function for payment response handling.

This function can be used to handle additional payment responses or notifications from the payment system.

Note

This field is optional and may be null if not needed.

Implementation

final void Function(String?)? onResponse;