raw property

String raw

Raw string.

Implementation

String get raw {
  if (_hasDirectives) {
    return _value;
  }
  // Escape lines starting with '::' as ':::'.
  var value = _value;
  if (value.startsWith('::')) {
    value = value = ':$value';
  }
  return value.replaceAll('\n::', ':::');
}