warn method

void warn (Object arg)

Implementation

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