warn method

void warn (
  1. Object arg
)

Implementation

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