WordState class

Constructors

WordState({required int index, required List<String> words, bool isFinal = false, int failure = -1})
const

Properties

failure int
where to continue when checking for matches failed
final
hashCode int
The hash code for this object.
no setterinherited
index int
index of the state (for faster transitions)
final
isFinal bool
flag determining
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
words List<String>
the actual word represented by this state
final

Methods

copyWith({int? index, bool? isFinal, List<String>? words, int? failure}) WordState
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