setup static method
Triggers finish setup (sdk dependency downloads) for versionName
Implementation
static Future<void> setup(String versionName) async {
final validVersion = ValidVersion(versionName);
final cacheVersion = await CacheService.isVersionCached(validVersion);
if (cacheVersion == null) {
throw Exception('Cannot setup version that is not in cache');
}
await FlutterTools.setupSdk(cacheVersion);
}