clear method

void clear()

Clears all rows from the cache

Example:

noteTable.clear();

Implementation

void clear() {
  _rowsByPrimaryKey.clear();
  _rows.clear();
  _refreshRowsNotifier();
  if (_rowNotifiers.isNotEmpty) {
    _notifyRowListeners(_rowNotifiers.keys.toList());
  }
}