Revert "Add --serve-observatory flag to run, attach, and test (#118402)" (#119302)

This reverts commit 6cd4fa45e2.
This commit is contained in:
Zachary Anderson
2023-01-26 16:43:39 -08:00
committed by GitHub
parent 05fc29fe71
commit 86ab01d2bd
16 changed files with 20 additions and 308 deletions

View File

@@ -458,14 +458,6 @@ abstract class FlutterCommand extends Command<void> {
);
}
void addServeObservatoryOptions({required bool verboseHelp}) {
argParser.addFlag('serve-observatory',
hide: !verboseHelp,
defaultsTo: true,
help: 'Serve the legacy Observatory developer tooling through the VM service.',
);
}
late final bool enableDds = () {
bool ddsEnabled = false;
if (argResults?.wasParsed('disable-dds') ?? false) {