dir method Null safety

void dir (
  1. Object arg
)

Implementation

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