setExpiryYearField method

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

Implementation

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