put method

void put (String name, dynamic locator)

Adds a new dependency into this resolver.

  • name the dependency's name.
  • locator the locator to find the dependency by.