pan>Implementation</span> </h2>
      <pre class="language-dart"><code class="language-dart">static void startSync(String name, {Map arguments, Flow flow}) {
  if (_isProduct) {
    return;
  }
  if (name is! String) {
    throw new ArgumentError.value(name, &#39;name&#39;, &#39;Must be a String&#39;);
  }
  if (!_isDartStreamEnabled()) {
    &#47;&#47; Push a null onto the stack and return.
    _stack.add(null);
    return;
  }
  var block = new _SyncBlock._(name, _getTraceClock(), _getThreadCpuClock());
 