disconnect method

Future<bool> disconnect()

Closes the data provider.

Implementation

Future<bool> disconnect() async {
  if (_isConnected) {
    _isConnected = await database.disconnect(storeName, this);
  }

  return _isConnected;
}