getToolchain method
Implementation
Future<RustupToolchain?> getToolchain(String name) async {
return (await installedToolchains()).firstWhereOrNull(
(e) => e.name == name || e.name.startsWith('$name-'),
);
}
Future<RustupToolchain?> getToolchain(String name) async {
return (await installedToolchains()).firstWhereOrNull(
(e) => e.name == name || e.name.startsWith('$name-'),
);
}