onError property
A function called when there's an error in the payment process.
Implementation
final void Function(Object? error)? onError;
A function called when there's an error in the payment process.
final void Function(Object? error)? onError;