assignId<T> method

T assignId<T>(
  1. T object
)

Implementation

T assignId<T>(T object) {
  _objectMap[_nextId++] = object;
  return object;
}