isEmpty method

bool isEmpty()

Implementation

bool isEmpty() {
  return (number == null || number?.isEmpty == true) &&
      expMonth == null &&
      expYear == null &&
      (cvc == null || cvc?.isEmpty == true);
}