installToolchain method

Future<void> installToolchain(
  1. String name
)

Implementation

Future<void> installToolchain(String name) async {
  return await _mutex.protect(() async {
    _cachedToolchains = null;
    await runCommand(['toolchain', 'install', name, '--profile', 'minimal']);
  });
}