visitLiteralExpression method Null safety

  1. @override
StringSink visitLiteralExpression(
  1. LiteralExpression expression,
  2. [StringSink? output]
)
override

Implementation

@override
StringSink visitLiteralExpression(LiteralExpression expression,
    [StringSink? output]) {
  output ??= StringBuffer();
  return output..write(expression.literal);
}