get method

T? get(
  1. String id
)

Gets an item from the collection by its ID.

Implementation

T? get(String id) => _items[id];