onError property

(void Function(Object? error)?) onError
final

A function called when there's an error in the payment process.

Implementation

final void Function(Object? error)? onError;