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
@override
String expanded([
String Function(Message, Object) transform = nullTransform,
]) => messagePieces.map((chunk) => transform(this, chunk)).join('');