 class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">void postEvent(String eventKind, Map eventData) {
  ArgumentError.checkNotNull(eventKind, &#39;eventKind&#39;);
  ArgumentError.checkNotNull(eventData, &#39;eventData&#39;);
  String eventDataAsString = json.encode(eventData);
  _postEvent(eventKind, eventDataAsString);
}</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-rig