NamedCompilationUnitMemberImpl constructor
NamedCompilationUnitMemberImpl({
- required CommentImpl? comment,
- required List<
AnnotationImpl> ? metadata, - required Token name,
Initialize a newly created compilation unit member with the given name.
Either or both of the comment
and metadata
can be null
if the member
does not have the corresponding attribute.
Implementation
NamedCompilationUnitMemberImpl({
required super.comment,
required super.metadata,
required this.name,
});