SpatialMatch class

A match for a spatial sequence.

Inheritance

Constructors

SpatialMatch.new({required String password, required int start, required int end, required GraphEntry graph, required String graphName, required int turns, required int shiftedCount})
Creates a match.

Properties

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
graph GraphEntry
The matched adjacency graph.
final
graphName String
The name of the matched adjacency graph.
final
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
password String
The password that is being matched.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shiftedCount int
The number of characters when using the Shift key.
final
start int
The index in the password where the token starts.
finalinherited
token String
The matched part of the password.
no setterinherited
turns int
The number of direction changes.
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