getWarmAsset method
Get an asset from the cache.
Implementation
T? getWarmAsset(AssetProvider assetProvider) {
T? asset = _assets[assetProvider];
return (asset?.isAvailable ?? false) ? asset : null;
}
Get an asset from the cache.
T? getWarmAsset(AssetProvider assetProvider) {
T? asset = _assets[assetProvider];
return (asset?.isAvailable ?? false) ? asset : null;
}