visitBlock method Null safety

  1. @override
StringSink visitBlock(
  1. Block block,
  2. [StringSink? output]
)
inherited

Implementation

@override
StringSink visitBlock(Block block, [StringSink? output]) {
  output ??= StringBuffer();
  return visitAll<Code>(block.statements, output, (statement) {
    statement.accept(this, output);
  }, '\n');
}