PartOfElement constructor

PartOfElement({
  1. required LibraryElement library,
  2. required Uri uri,
  3. required String srcId,
  4. required String stringUri,
  5. bool referencesLibraryDirective = false,
})

Creates a part-of directive element with the specified parameters.

@param library The library containing this part-of directive @param uri The resolved URI for the containing library @param srcId Source identifier for tracking references @param stringUri Original string representation of the URI @param referencesLibraryDirective Whether this part-of references a library by name

Implementation

PartOfElement({
  required super.library,
  required super.uri,
  required super.srcId,
  required super.stringUri,
  this.referencesLibraryDirective = false,
});