CCNumValidationResults class

Validation reults that are specific to credit card number validations. It contains the type of credit card in addition to the other properties found in ValidationResults

Inheritance

Constructors

CCNumValidationResults({required CreditCardType ccType, required bool isValid, required bool isPotentiallyValid, String message = ''})

Properties

ccType ↔ CreditCardType
The type of the credit card that was validated This is meant to be used in the other validation processes because the card number length and security codes depend on this
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isPotentiallyValid bool
Whether or not the part of the card in question has the potential to be valid
getter/setter pairinherited
isValid bool
Whether or not the part of the card in question was valid
getter/setter pairinherited
message String
A message that contains the reason why the validation failed. Default is an empty string
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited