libraryDirective abstract method

LibraryDirective libraryDirective(
  1. Comment? comment,
  2. List<Annotation>? metadata,
  3. Token libraryKeyword,
  4. LibraryIdentifier name,
  5. Token semicolon,
)

Returns 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

LibraryDirective libraryDirective(
    Comment? comment,
    List<Annotation>? metadata,
    Token libraryKeyword,
    LibraryIdentifier name,
    Token semicolon);