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