getWarmFlare method

FlutterActor? getWarmFlare(
  1. AssetProvider assetProvider
)

Load a flare file from cache

Implementation

FlutterActor? getWarmFlare(AssetProvider assetProvider) {
  var asset = getWarmActor(assetProvider);
  if (!attached || asset == null) {
    return null;
  }
  _assets.add(asset);
  asset.ref();
  return asset.actor;
}