getById method

T? getById(
  1. String id
)

Get entity by ID

Implementation

T? getById(String id) => _entities[id];