ArangoDBClient constructor
ArangoDBClient({})
Implementation
ArangoDBClient({
this.scheme = 'http',
this.host = 'localhost',
this.port = 8529,
this.db = '_system',
required this.user,
required this.pass,
this.realm = '',
}) {
({
'sheme': scheme,
'db': db,
'host': host,
'port': port,
'user': user,
'pass': pass,
'realm': realm,
}).forEach((k, v) => ArgumentError.checkNotNull(v, k));
dbUrl =
Uri(scheme: scheme, host: host, port: port, pathSegments: ['_db', db]);
_connect();
}