appendWithDecoration method

void appendWithDecoration(
  1. Object text,
  2. MessageDecoration decoration
)

Appends formatted text to message

Implementation

void appendWithDecoration(Object text, MessageDecoration decoration) {
  _content.write("$decoration$text$decoration");
}