build method
Implementation
CardCollector build() {
_cardForm = CardFormCollector(
repository: _repository,
tokenizeCardInfo: _tokenizeCardInfo,
);
_configureField(_cardForm!, CardFieldType.cardNumber);
_configureField(_cardForm!, CardFieldType.cvv);
_configureField(_cardForm!, CardFieldType.cardHolderName);
_configureField(_cardForm!, CardFieldType.expiryMonth);
_configureField(_cardForm!, CardFieldType.expiryYear);
return CardCollector(cardFormCollector: _cardForm!);
}