tool method
Implementation
String tool() {
if (_tool != null) {
return _tool!;
}
final root = path.dirname(pubspecYaml);
final nestedLock = pubspecLock.findIn(root);
var tool = 'dart';
final contents = findFile.retrieveContent(nestedLock ?? pubspecYaml);
if (contents != null && contents.contains('flutter')) {
tool = 'flutter';
}
return _tool = tool;
}