restore<T extends Type> method
void
restore<T extends Type>(
- T key
Implementation
void restore<T extends Type>(T key) {
if (!_services.containsKey(key)) {
throw Exception('Service not exists, you can\t restore it');
}
_services[key] = _defaults[key];
}