run method
Runs this command.
The return value is wrapped in a Future
if necessary and returned by
CommandRunner.runCommand
.
Implementation
@override
void run() {
if (!_Validator.isPubspecValid) {
stdout.writeln(
"This directory doesn't seem to be a valid Flutter project.".makeError,
);
return;
}
}