print function

void print (
  1. 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);
  }
}