quoteWithDoubleQuotes function

String quoteWithDoubleQuotes(
  1. String string
)

Implementation

String quoteWithDoubleQuotes(String string) =>
    "\"${string.replaceAll("\"", "\"\"")}\"";