updateItem method
Implementation
updateItem(int index, T newValue) {
var list = dataList;
list[index] = newValue;
dataSubject.add(DataWrapper(list, null));
}
updateItem(int index, T newValue) {
var list = dataList;
list[index] = newValue;
dataSubject.add(DataWrapper(list, null));
}