dir method

void dir (Object arg)

Implementation

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