confirmHandler property
Called when the customer confirms payment. Your implementation should create a payment intent or setupintent on your server and call the intent creation callback with its client secret or an error if one occurred.
Implementation
@JsonKey(includeFromJson: false, includeToJson: false)
ConfirmHandler? get confirmHandler => throw _privateConstructorUsedError;