AssetManager constructor

AssetManager()

Creates an instance of AssetManager and adds a default JS include.

The constructor adds a default include for the file /app/includes.js with AssetCache.never cache policy using the current request context.

Implementation

AssetManager() {
  includes.insert(
    0,
    Asset(
      path: '/app/includes.js',
      cache: AssetCache.never,
    ),
  );
}