onCardChanged method

void onCardChanged(
  1. PaymentElementChangeEvent response
)

Implementation

void onCardChanged(js.PaymentElementChangeEvent response) {
  final details = CardFieldInputDetails(
    complete: response.complete,
  );
  widget.onCardChanged(details);

  return;
}