containsKey method

bool containsKey(
  1. dynamic key
)

Checks if given key is in Factory. Looks to store and initializers.

This function do not check subtypes!

Returns true if key is found.

Implementation

bool containsKey(dynamic key) =>
    _items.containsKey(key) || key is Type && _factory.containsKey(key);