AllFiles class
A pattern that matches all files. This class implements the Pattern interface and can be used to match any file path.
Example usage:
final allFiles = AllFiles();
final matches = allFiles.allMatches('example.dart');
print(matches.isNotEmpty); // true
This class is useful when you want to include all files in a task
- Implemented types
Constructors
- AllFiles()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
allMatches(
String string, [int start = 0]) → Iterable< Match> -
Matches this pattern against the string repeatedly.
override
-
matchAsPrefix(
String string, [int start = 0]) → Match? -
Matches this pattern against the start of
string
.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