UriBasedDirectiveImpl constructor
UriBasedDirectiveImpl({
- required CommentImpl? comment,
- required List<
AnnotationImpl> ? metadata, - required StringLiteralImpl uri,
Initialize a newly create URI-based directive. Either or both of the
comment
and metadata
can be null
if the directive does not have the
corresponding attribute.
Implementation
UriBasedDirectiveImpl({
required super.comment,
required super.metadata,
required StringLiteralImpl uri,
}) : _uri = uri {
_becomeParentOf(_uri);
}