insert method

int insert(
  1. T obj
)

Implementation

int insert(T obj) {
  final handle = _counter++;
  _map[handle] = obj;
  return handle;
}