DirectiveImpl constructor

DirectiveImpl({
  1. required CommentImpl? comment,
  2. required List<AnnotationImpl>? metadata,
})

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

Implementation

DirectiveImpl({
  required super.comment,
  required super.metadata,
});