ClassMemberImpl constructor

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

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

Implementation

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