dir method
Implementation
void dir([Object? item, Object? options]) =>
_isConsoleDefined
? JS('void', 'window.console.dir(#, #)', item, options)
: null;
void dir([Object? item, Object? options]) =>
_isConsoleDefined
? JS('void', 'window.console.dir(#, #)', item, options)
: null;