StringExpression.plain constructor

StringExpression.plain(
  1. String text,
  2. FileSpan span, {
  3. bool quotes = false,
})

Returns a string expression with no interpolation.

Implementation

StringExpression.plain(String text, FileSpan span, {bool quotes = false})
    : text = Interpolation([text], span),
      hasQuotes = quotes;