dir method

void dir([
  1. Object? item,
  2. Object? options
])

Implementation

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