printErr function

void printErr(
  1. Object? object, [
  2. String end = "\n"
])

Prints a string representation of object to stderr.

Appends end to the string representation.

Implementation

void printErr(Object? object, [String end = "\n"]) {
  stderr.write(object);
  stderr.write(end);
}