onCancel property

(void Function()?) onCancel
getter/setter pair

Called when user cancels the Payment Method form

Implementation

void Function()? onCancel;