BuildContext constructor Null safety

BuildContext(
  1. Uri rootLibraryFileUri,
  2. Uri buildDirectoryUri,
  3. Uri executableUri,
  4. String source,
  5. {bool forTests = false}
)

Implementation

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