deserialize method

void deserialize(
  1. dynamic map
)

Deserializes a map of items with the help of deserializeItem.

Implementation

void deserialize(map) {
  _items.clear();
  map.forEach((key, element) {
    _items[key] = deserializeItem(element);
  });
}