print function

void print (Object object)

Prints a string representation of the object to the console.

Implementation

void print(Object object) {
  String line = "$object";
  if (printToZone == null) {
    printToConsole(line);
  } else {
    printToZone(line);
  }
}