visitAnnotation method Null safety

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

Implementation

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