openAsync static method

Future<AsyncDatabase> openAsync(
  1. String name, [
  2. DatabaseConfiguration? config
])

Opens a Couchbase Lite database with the given name and config, which executes in a separate worker isolate.

If the database does not yet exist, it will be created.

Implementation

static Future<AsyncDatabase> openAsync(
  String name, [
  DatabaseConfiguration? config,
]) =>
    AsyncDatabase.open(name, config);