Tag constructor

Tag(
  1. String name,
  2. List<ASTNode>? content, {
  3. List<Filter> filters = const [],
  4. List<ASTNode>? body,
})

Implementation

Tag(
  this.name,
  List<ASTNode>? content, {
  this.filters = const [],
  List<ASTNode>? body,
})  : _body = body ?? [],
      _content = content ?? [];