fromHttp static method
Implementation
static Future<SkeletonData> fromHttp(Atlas atlas, String skeletonFile) async {
if (skeletonFile.endsWith(".json")) {
return fromJson(atlas, convert.utf8.decode((await http.get(Uri.parse(skeletonFile))).bodyBytes));
} else {
return fromBinary(atlas, (await http.get(Uri.parse(skeletonFile))).bodyBytes);
}
}