Declaration.nested constructor

Declaration.nested(
  1. Interpolation name,
  2. Iterable<Statement> children,
  3. FileSpan span, {
  4. Expression? value,
})

Creates a declaration with children.

For these declarations, a value is optional.

Implementation

Declaration.nested(this.name, Iterable<Statement> children, this.span,
    {this.value})
    : super(List.unmodifiable(children));