log method

void log(
  1. Object message, {
  2. String prefix = "",
  3. int indent = 0,
})

Implementation

void log(Object message, {String prefix = "", int indent = 0}) {
  print(
      "${modifiers.map((i) => i.chatColor).join("")}${indent > 0 ? " " * indent : ""}$_header${"$prefix$message".chatColor}");
}