put method

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

Puts a new reference into this reference map.

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

Implementation

@override
void put(locator, component) {
  if (component == null) throw Exception('Component cannot be null');

  _references.add(Reference(locator, component));
}