decodeFromAssets method
Download animation file from bundle assets, and decode it.
Implementation
Future<MovieEntity> decodeFromAssets(String path) async {
return decodeFromBuffer((await rootBundle.load(path)).buffer.asUint8List());
}
Download animation file from bundle assets, and decode it.
Future<MovieEntity> decodeFromAssets(String path) async {
return decodeFromBuffer((await rootBundle.load(path)).buffer.asUint8List());
}