PartDirectiveImpl constructor

PartDirectiveImpl({
  1. required CommentImpl? comment,
  2. required List<AnnotationImpl>? metadata,
  3. required Token partKeyword,
  4. required StringLiteralImpl uri,
  5. required Token semicolon,
})

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

Implementation

PartDirectiveImpl({
  required super.comment,
  required super.metadata,
  required this.partKeyword,
  required super.uri,
  required this.semicolon,
});