log static method

void log(
  1. Object? obj
)

Prints the obj to the terminal

This function checks if we are in debug more or not and will not print anything during the production mode

Implementation

static void log(Object? obj) {
  print(obj?.toString() ?? "");
}