partOfDirective abstract method

PartOfDirective partOfDirective(
  1. Comment? comment,
  2. List<Annotation>? metadata,
  3. Token partKeyword,
  4. Token ofKeyword,
  5. StringLiteral? uri,
  6. LibraryIdentifier? libraryName,
  7. Token semicolon,
)

Returns a newly created part-of directive. Either or both of the comment and metadata can be null if the directive does not have the corresponding attribute.

Implementation

PartOfDirective partOfDirective(
    Comment? comment,
    List<Annotation>? metadata,
    Token partKeyword,
    Token ofKeyword,
    StringLiteral? uri,
    LibraryIdentifier? libraryName,
    Token semicolon);