SystemCache constructor
Creates a system cache and registers all sources in sources.
If isOffline
is true
, then the offline hosted source will be used.
Defaults to false
.
Implementation
SystemCache({String? rootDir, this.isOffline = false})
: _rootDir = rootDir,
tokenStore = TokenStore(dartConfigDir);