time方法

void time([
  1. String? label
])

实现

void time([String? label]) =>
    _isConsoleDefined ? JS('void', 'window.console.time(#)', label) : null;