setCache method

Application setCache(
  1. bool cache
)

setCache is a method that enable caching of the application. by default it's set to false.

Implementation

Application setCache(bool cache) {
  this.cache = cache;
  return this;
}