escapes top-level constant

Map<String, String> const escapes

Map of characters to escape.

Implementation

const escapes = const {
  "'": r"\'", "\r": r"\r", "\n": r"\n", r"\": r"\\",
  "\t": r"\t", "\b": r"\b", "\f": r"\f", "\u0000": "",
};