print function Null safety

void print(
  1. Object? object
)

Prints a string representation of the object to the console.

Implementation

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