FileBatch class

File batch processor

Properties

count → int
Get file count
no setter
files → List<String>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

filter(bool predicate(String path)) → Future<FileBatch>
Filter files
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process<T>(Future<T> processor(String path, String content)) → Future<List<T>>
Process each file
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromPattern({required String include, String? exclude, int? maxResults}) → Future<FileBatch>
Create file batch from pattern