Mwc class

A class that represents the MWC (Melos Workspace Cleaner) command.

Constructors

Mwc.new({required MwcConfig config, required Logger logger})
Creates a new instance of the MWC (Melos Workspace Cleaner) command.

Properties

config MwcConfig
The configuration used by this command.
final
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
The logger used by this command.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clean(List<FileSystemEntity> files, Progress progress) Future<void>
Cleans the given list of files by deleting them.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() Future<void>
Runs the MWC (Melos Workspace Cleaner) command.
toString() String
A string representation of this object.
inherited

Operators

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