resolve<T> method
Implementation
@override
T resolve<T>(BuildContext? context) {
if (this is T) {
return this as T;
}
try {
context ??= AppBootstrap.currentContext();
} catch (e) {
throw "No current inner context found attempting to resolve $T";
}
return Provider.of(context, listen: false);
}