CompilationUnitMemberImpl constructor

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

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

Implementation

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