getDartCliTool method
Get the DartCliTool that is associated with this flutter tool.
Implementation
Future<DartCliTool> getDartCliTool() async {
final version = await getVersion();
final dartExe = lib_path.join(
version.flutterRoot,
"bin",
"dart${Platform.isWindows ? ".bat" : ""}",
);
return DartCliTool(executable: dartExe);
}