refactor commands to move out re-usable functionality
This commit is contained in:
@@ -47,12 +47,6 @@ abstract class FlutterCommand extends Command {
|
||||
connectToDevices();
|
||||
}
|
||||
|
||||
void inheritFromParent(FlutterCommand other) {
|
||||
applicationPackages = other.applicationPackages;
|
||||
toolchain = other.toolchain;
|
||||
devices = other.devices;
|
||||
}
|
||||
|
||||
Future<int> run() async {
|
||||
if (requiresProjectRoot && !validateProjectRoot())
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user