text method

  1. @override
String text()
override

Returns the raw textual representation of this part.

This is the unprocessed form of the part. For literal text, it's the actual string; for placeholder parts, it's the placeholder name.

Example

final text = part.text(); // "host", or "${host}"

Implementation

@override
String text() => _text;