trace方法

void trace(
  1. Object? arg
)

实现

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