TerminalSearchOptions class

represents options for a terminal search

Constructors

TerminalSearchOptions.new({bool caseSensitive = false, bool matchWholeWord = false, bool useRegex = false})

Properties

caseSensitive bool
defines if the search should be case sensitive. If set to false then the search will be case insensitive
final
hashCode int
The hash code for this object.
no setterinherited
matchWholeWord bool
defines if the search should match whole words.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
useRegex bool
defines if the search should treat the pattern as a regex, or not
final

Methods

copyWith({bool? caseSensitive, bool? matchWholeWord, bool? useRegex}) TerminalSearchOptions
creates a new TerminalSearchOptions instance based on this one changing the given parameters
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