FormatTask class

Inheritance

Constructors

FormatTask.new({required String projectPath})

Properties

arguments List<String>
finalinherited
executable String
finalinherited
fullCommand String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
unique task id (UUID v1 time based)
finalinherited
isCancelled bool
no setterinherited
isCompleted bool
no setterinherited
isFailed bool
no setterinherited
isIdle bool
no setterinherited
isPending bool
no setterinherited
isRunning bool
no setterinherited
name String
no setteroverride
projectPath String
final
result TaskResult?
The result of the task if completed Contains the value, error and stack trace
getter/setter pairinherited
resultAsync Future
The result of the task as a future
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status TaskStatus
The current status of the task
no setterinherited
workingDirectory String?
finalinherited

Methods

cancel() → void
Manually cancel the task
inherited
execute() Future
The logic to execute the task. Shouldn't be called directly but rather through run
inherited
handleResult(ProcessResult result) → dynamic
inherited
isErrorOfType(Type type) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run({OnTaskEvent? onEvent}) → CancelableOperation
Runs the task operation and returns the result
inherited
toString() String
A string representation of this object.
inherited

Operators

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