ExpYearValidationResults class

Validation results specific to the year part of the expiration date. It contains a information about whether or not the card expires this calendar year in addition to the other properties found in ValidationResults

This is used internally so you should not worry about using it

Inheritance

Constructors

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

Properties

expiresThisYear bool
Whether or not the card expires this year
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