decodeFromURL method
Download animation file from remote server, and decode it.
Implementation
Future<MovieEntity> decodeFromURL(String url) async {
final response = await get(Uri.parse(url));
return decodeFromBuffer(response.bodyBytes);
}
Download animation file from remote server, and decode it.
Future<MovieEntity> decodeFromURL(String url) async {
final response = await get(Uri.parse(url));
return decodeFromBuffer(response.bodyBytes);
}