tool method
The command that runs dart or flutter — whichever pkg needs — with
args in its directory.
Implementation
CiCommand tool(
CiPackage pkg,
List<String> args, {
Map<String, String> env = const {},
}) => CiCommand(
pkg.isFlutter ? (flutter ?? 'flutter') : dart,
args,
workingDirectory: pkg.directory,
environment: env,
);