PackageEncoder constructor
PackageEncoder(})
Implementation
PackageEncoder(
this.packageDir, {
this.includeTests = false,
this.resolveExternalDeps = false,
PubClient? pubClient,
Map<String, Program>? encodedCache,
Set<String>? inProgress,
this.maxDepth = 10,
int currentDepth = 0,
}) : _pubClient = pubClient,
_encodedCache = encodedCache ?? {},
_inProgress = inProgress ?? {},
_currentDepth = currentDepth,
manifest = PubspecParser.fromDirectory(packageDir) {
_fileToModule = _buildFileMap();
}