logToConsole method

void logToConsole({
  1. bool enabled = true,
})

enabled]/disable logs to the console.

  • VM: logs to the STDOUT/STDERR.
  • Browser: logs to the browser console.

Implementation

void logToConsole({bool enabled = true}) => _logToConsoleImpl(enabled);