• Dan Rubel's avatar
    Refactor flutter command execution (#5892) · 18212382
    Dan Rubel authored
    * refactor _run to runCmd
    
    * replace requiresProjectRoot getter with call to commandValidator
    
    * replace requiresDevice getter with call to findTargetDevice
    
    * trace command requires a debug connection, not a device
    
    * inline androidOnly getter
    
    * rename command methods to verifyTheRunCmd and runCmd
    
    * move common verification into BuildSubCommand
    
    * rename deviceForCommand to device
    
    * rename methods to verifyThenRunCommand and runCommand
    18212382
precache.dart 859 Bytes