ValidationResults class

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

Implementers

Constructors

ValidationResults({required bool isValid, required bool isPotentiallyValid, String message = ''})

Properties

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 pair
isValid bool
Whether or not the part of the card in question was valid
getter/setter pair
message String
A message that contains the reason why the validation failed. Default is an empty string
getter/setter pair
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