expanded method
Return the full message, with any interpolation expressions transformed
by f
and all the results concatenated. The chunk argument to f
may be
either a String, an int or an object representing a more complex
message entity.
See messagePieces.
Implementation
String expanded([Function f = _nullTransform]) =>
messagePieces.map((chunk) => f(this, chunk)).join("");