setNumber method

void setNumber(
  1. String newValue
)

Implementation

void setNumber(String newValue) {
  _cardNumber = addSpaceToCardNumber(newValue);

  notifyListeners();
}