log method

void log(
  1. Object? arg
)

Implementation

void log(Object? arg) =>
    _isConsoleDefined ? JS('void', 'window.console.log(#)', arg) : null;