CallableDeclaration constructor
CallableDeclaration(
- String originalName,
- ArgumentDeclaration arguments,
- Iterable<
Statement> children, - FileSpan span, {
- SilentComment? comment,
Implementation
CallableDeclaration(this.originalName, this.arguments,
Iterable<Statement> children, this.span,
{this.comment})
: name = originalName.replaceAll('_', '-'),
super(List.unmodifiable(children));