LibraryDirectiveImpl constructor
LibraryDirectiveImpl({
- required CommentImpl? comment,
- required List<
AnnotationImpl> ? metadata, - required Token libraryKeyword,
- required LibraryIdentifierImpl? name,
- required Token semicolon,
Initialize a newly created library directive. Either or both of the
comment
and metadata
can be null
if the directive does not have the
corresponding attribute.
Implementation
LibraryDirectiveImpl({
required super.comment,
required super.metadata,
required this.libraryKeyword,
required LibraryIdentifierImpl? name,
required this.semicolon,
}) : _name = name {
_becomeParentOf(_name);
}