BuildContext constructor

BuildContext(
  1. Uri rootLibraryFileUri,
  2. Uri buildDirectoryUri,
  3. Uri executableUri,
  4. String source, {
  5. Map<String, String>? environment,
  6. bool forTests = false,
})

Implementation

BuildContext(
  this.rootLibraryFileUri,
  this.buildDirectoryUri,
  this.executableUri,
  this.source, {
  this.environment,
  this.forTests = false,
}) {
  analyzer = CodeAnalyzer(sourceApplicationDirectory.uri);
}