put method Null safety

void put(
  1. dynamic locator,
  2. dynamic component
)

Puts a reference into this reference map.

  • locator a locator to find the reference by.
  • component a component reference to be added.