replaceAt method
Replace item at 'index' with 'value'
Implementation
void replaceAt(int index, T value) {
List<T> buffer = _list.toList();
buffer.removeAt(index);
buffer.insert(index, value);
_list = List<T>.from(buffer);
}
Replace item at 'index' with 'value'
void replaceAt(int index, T value) {
List<T> buffer = _list.toList();
buffer.removeAt(index);
buffer.insert(index, value);
_list = List<T>.from(buffer);
}