ValidationResults class

A class that contains the results from the validation process Each of the parts of the credit card are either 'valid' or 'potentially valid'

i.e. User '4'

Implementers

Constructors

ValidationResults({bool isValid, bool isPotentiallyValid, String message})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isPotentiallyValid bool
Whether or not the part of the card in question has the potential to be valid
read / write
isValid bool
Whether or not the part of the card in question was valid
read / write
message String
A message that contains the reason why the validation failed NOTE: This will only be present if both isValid and isPotentiallyValid are false
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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