add<T> method

  1. @override
void add<T>(
  1. T instance
)
override

Register an instance of T to be used later.

Implementation

@override
void add<T>(T instance) {
  _registered[T] = instance;
}