es: [UserRepository(), ProductRepository()],
);
</code></pre>
</section>


    
<section class="summary source-code" id="source">
  <h2><span>Implementation</span></h2>
  <pre class="language-dart"><code class="language-dart">static Future&lt;void&gt; initialize({
  String? databaseName,
  required List&lt;SnailRepository&gt; repositories,
}) async {
  print(&#39;*** SnailDatabase initialized ***&#39;);

  final dbPath = await getDatabasesPath();
  final path = join(dbPath, &#39;${databaseName ?? &quot;snai