dart"><code class="language-dart">Map&lt;String, dynamic&gt; toJson() {
  final map = &lt;String, dynamic&gt;{};
  map[&#39;videoroom&#39;] = videoroom;
  map[&#39;room&#39;] = room;
  if (participants != null) {
    map[&#39;participants&#39;] = participants?.map((v) =&gt; v.toJson()).toList();
  }
  return map;
}</code></pre>
</section>


  </div> <!-- /.main-content -->
  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <!-- The search input and breadcrumbs below are only respon