load method
Implementation
@override
Future<LottieComposition> load() {
return sharedLottieCache.putIfAbsent(this, () async {
var composition = await LottieComposition.fromBytes(bytes,
imageProviderFactory: imageProviderFactory);
for (var image in composition.images.values) {
image.loadedImage ??= await _loadImage(composition, image);
}
return composition;
});
}