DartFileIndex constructor
const
DartFileIndex({
- required String path,
- List<
IndexedImport> imports = const [], - List<
IndexedImport> exports = const [], - List<
IndexedDeclaration> declarations = const [], - List<
IndexedInvocation> invocations = const [], - List<
IndexedReference> references = const [], - List<
IndexedMemberAccess> memberAccesses = const [],
Creates the index of the file at path.
Implementation
const DartFileIndex({
required this.path,
this.imports = const [],
this.exports = const [],
this.declarations = const [],
this.invocations = const [],
this.references = const [],
this.memberAccesses = const [],
});