toPlaceholderText method

String toPlaceholderText(
  1. String text
)

Reconstructs a placeholder expression from the text using the context’s prefix and suffix.

ctx.toPlaceholderText('host') // -> "#{host}"

Implementation

String toPlaceholderText(String text) => prefix + text + suffix;