add method

void add(
  1. String key,
  2. dynamic object
)

Implementation

void add(String key, object) {
  objects[key] = object;
}