createClient function

Ichibase createClient(
  1. String url,
  2. String anonKey, {
  3. Client? httpClient,
  4. SessionStore? store,
  5. String storageKey = 'ichibase.session',
})

Create a client. Mirrors the TypeScript createClient(url, anonKey).

Implementation

Ichibase createClient(
  String url,
  String anonKey, {
  http.Client? httpClient,
  SessionStore? store,
  String storageKey = 'ichibase.session',
}) =>
    Ichibase(url, anonKey,
        httpClient: httpClient, store: store, storageKey: storageKey);