VirtualDirectory constructor
VirtualDirectory(})
Implementation
VirtualDirectory(this.app, this.fileSystem,
{Directory? source,
this.indexFileNames = const ['index.html'],
this.publicPath = '/',
this.callback,
this.allowDirectoryListing = false,
this.useBuffer = false}) {
_prefix = publicPath.replaceAll(_straySlashes, '');
if (source != null) {
_source = source;
} else {
var dirPath = app.environment.isProduction ? './build/web' : './web';
_source = fileSystem.directory(dirPath);
}
}