heading method

void heading(
  1. String name, [
  2. SourceSpan? span
])

Implementation

void heading(String name, [SourceSpan? span]) {
  write(name);
  if (span != null) {
    buf.write('  (${span.message('')})');
  }
  buf.write('\n');
}