get<T> method
Resolve a instância do tipo T.
Lança FakeInjectorMissingBindError se o tipo não foi registrado.
Implementation
@override
T get<T>({String? key}) {
final instance = _instances[T];
if (instance == null) throw FakeInjectorMissingBindError(T);
return instance as T;
}