getVersions function
Returns a Manifest with all Minecraft: Java Edition Versions, including alpha/beta and snapshot versions.
Implementation
Future<VersionManifest> getVersions() async {
final response = await request(
http.get, _launcherMetaApi, 'mc/game/version_manifest_v2.json');
final data = parseResponseMap(response);
return VersionManifest.fromJson(data);
}