refreshRow method

void refreshRow(
  1. TResultId itemId
)

Rebuilds the row which has the specified itemId to reflect changes to the item.

Implementation

void refreshRow(TResultId itemId) {
  final rowIndex = _state._rowsStateMapper[itemId];
  if (rowIndex == null) {
    throw TableError(
        'Item with key "$itemId" is not in the current dataset.');
  }

  _state._rowsState[rowIndex].refresh();
}