setCardHolderNameField method

CardFormBuilder setCardHolderNameField([
  1. dynamic listener(
    1. CardFieldState?
    )?
])

Implementation

CardFormBuilder setCardHolderNameField(
    [Function(CardFieldState?)? listener]) {
  _fieldStateChangeListeners[CardFieldType.cardHolderName] =
      listener ?? (_) {};
  return this;
}