addAsset method

AssetManager addAsset(
  1. Asset asset
)

Adds a single asset to the manager.

The asset parameter is the Asset instance to be added.

Implementation

AssetManager addAsset(Asset asset) {
  includes.add(asset);
  return this;
}