DeclarationImpl constructor

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

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

Implementation

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