insertRow method
void
insertRow(
- T row
Implementation
void insertRow(T row) {
final primaryKey = decoder.getPrimaryKey(row);
if (primaryKey != null) {
_rowsByPrimaryKey[primaryKey] = row;
} else {
_rows.add(row);
}
_refreshRowsNotifier();
if (primaryKey != null && _rowNotifiers.containsKey(primaryKey)) {
_notifyRowListeners([primaryKey]);
}
}