expanded method

String expanded([
  1. Function f = _nullTransform
])
override

Expand this string out into a printed form. The function f will be applied to any sub-messages, allowing this to be used to generate a form suitable for a wide variety of translation file formats.

Implementation

String expanded([Function f = _nullTransform]) =>
    pieces.map((chunk) => f(this, chunk)).join("");