dispose method

void dispose()

Implementation

void dispose() {
  if (!_subscribedCompleter.isCompleted) {
    _subscribedCompleter.complete();
  }
  for (final notifier in _rowNotifiers.values) {
    notifier.dispose();
  }
  _rowNotifiers.clear();
  rows.dispose();
  lastBatch.dispose();
  _onInsertController.close();
  _onUpdateController.close();
  _onDeleteController.close();
}