Database constructor
Database({})
Implementation
Database({
required this.name,
String? path,
bool? encrypted,
String? secretKey,
bool? isWeb = false,
}) : _storage = DatabaseStorage(name: name, path: path ?? name),
_encrypted = encrypted ?? false,
_isWeb = isWeb ?? false {
_collections.addAll(_storage.getCollections(this));
_stores.addAll(_storage.getStores(this));
}