load method

  1. @override
Future load(
  1. HttpConnect connect,
  2. String uri, {
  3. bool useCache = true,
})
override

Loads the asset of the given URI to the given response.

  • useCache - whether to use the cache. If true (default), it will check the cache first, and update the cache if ncessary.

Implementation

@override
Future load(HttpConnect connect, String uri, {bool useCache = true})
=> loadAsset(connect, getAsset(uri), useCache ? cache: null);