parse method

List<PlaceholderPart> parse(
  1. String text
)

Parses the given text into a list of PlaceholderParts using the context’s parser.

ctx.parse('host') // -> [TextPart('host')]

Implementation

List<PlaceholderPart> parse(String text) => parser(text);