register<T extends Object> method

void register<T extends Object>(
  1. Type T,
  2. T value
)

register service instance

Implementation

void register<T extends Object>(Type T, T value) => _services[T] = value;