ExpMonthValidationResults class

Validation results specific to the month part of the expiration date. It contains a information about whether or not the card is still valid for 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

ExpMonthValidationResults({required bool isValidForCurrentYear, 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 pairinherited
isValid bool
Whether or not the part of the card in question was valid
getter/setter pairinherited
isValidForCurrentYear bool
Whether or not the card is good for this calendar year
getter/setter pair
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