clear method Null safety

void clear (
  1. [Object? arg]
)

Implementation

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