DateMatch class

A match for a date.

Inheritance

Constructors

DateMatch.new({required String password, required int start, required int end, required String separator, required int year, required int month, required int day, required Options options})
Creates a match.

Properties

day int
The day of the date.
final
end int
The index in the password after the last character of the token.
finalinherited
estimatedGuesses double
Should return the estimated number of guesses for the token.
no setteroverride
guesses double
The number of guesses for the token.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
length int
The length of the token.
no setterinherited
minGuesses double
The minimum number of guesses for the token.
no setterinherited
minGuessesForMultiChar double
The minimum number of guesses for a match longer than 1.
no setterinherited
minGuessesForSingleChar double
The minimum number of guesses for a match of length 1.
no setterinherited
month int
The month of the date.
final
options Options
Options.
final
password String
The password that is being matched.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator String
The separator of the date parts.
final
start int
The index in the password where the token starts.
finalinherited
token String
The matched part of the password.
no setterinherited
year int
The year of the date.
final

Methods

feedback({required bool isSoleMatch}) Feedback?
Should return the warning and suggestions regarding this match.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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