Skip to content

RillCompilerStringOps

extension RillCompilerStringOps on RillCompile<String>

Properties

string extension no setter

IO<String> get string

Available on RillCompile<O>, provided by the RillCompilerStringOps extension

Implementation
dart
IO<String> get string => foldChunks(
  StringBuffer(),
  (buf, chunk) => buf..writeAll(chunk.toList()),
).map((buf) => buf.toString());