initWithName method
Initializes a Couchbase Lite database with the given dbName
.
Implementation
static Future<Database> initWithName(String dbName) async {
await _methodChannel.invokeMethod(
'initDatabaseWithName', <String, dynamic>{'database': dbName});
return Database._internal(dbName);
}