DirectiveElementImpl constructor

DirectiveElementImpl({
  1. required LibraryElement library,
  2. required Uri uri,
  3. required String srcId,
  4. required String stringUri,
})

Creates a directive element with the specified parameters.

@param library The library containing this directive @param uri The resolved URI for this directive @param srcId Source identifier for tracking references @param stringUri Original string representation of the URI

Implementation

DirectiveElementImpl({
  required this.library,
  required this.uri,
  required this.srcId,
  required this.stringUri,
});