onCashPay property

void Function(CheckOutResult checkOutResult)? onCashPay
final

Provide a function that should trigger if the user presses the cash option. Can be left null if Cash option is not to be displayed

Implementation

final void Function(CheckOutResult checkOutResult)? onCashPay;