visitAnnotation method

  1. @override
StringSink visitAnnotation(
  1. Expression spec, [
  2. StringSink? output
])
inherited

Implementation

@override
StringSink visitAnnotation(Expression spec, [StringSink? output]) {
  (output ??= StringBuffer()).write('@');
  spec.accept(this, output);
  output.write(' ');
  return output;
}