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