UnitOperation class

Constructors

UnitOperation()

Properties

generationsCount int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateUnit({required PubspecData pubspecData, required List<String> filePaths, required List<String> classNames, required List<String> methodNames, required FlagGenerationRunInfo flagGenerationRunInfo, bool dryrun = false, bool testcases = false, bool testability = false}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runUnit(FileSystemEntity file, AnalysisContextCollection collection, PubspecData pubspecData, DartServerRepository dartServerRepository, TestRunInfo testRunInfo, {required List<String> classNames, required List<String> methodNames, required bool dryrun, required bool testcases, required bool testability, required FlagGenerationRunInfo flagGenerationRunInfo}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

runSaveUnit(FileSystemEntity file, AnalysisContextCollection collection, PubspecData pubspecData, DartServerRepository dartServerRepository, TestRunInfo testRunInfo) Future<void>
saveUnit({required PubspecData pubspecData}) Future<void>