repr function

String repr(
  1. String text
)

Renders text with JSON-style quoting for diagnostics.

Implementation

String repr(String text) => '"$text"';