connect method
Initializes the data provider.
Implementation
Future<bool> connect() async {
if (!_isConnecting && !_isConnected) {
_isConnecting = true;
_store = await database.getStore(storeName);
_isConnected = await database.connect(storeName, this);
_isConnecting = false;
}
return _isConnected;
}