operator []= method
void
operator []=(
- dynamic value,
- T item
Sets the value of the item to item
at the specified location.
This method accepts an int
as an index, an String
as an id,
and an ItemSerializable as the item to remove.
Implementation
operator []=(value, T item) {
_items[_getIndex(value)] = item;
}