In the Tour of Heroes tutorial, Section 5, main.dart
contains the following line:
final InjectorFactory injector = self.injector$Injector;
Is this a typo? It's giving me a warning in VSCode.
In the Tour of Heroes tutorial, Section 5, main.dart
contains the following line:
final InjectorFactory injector = self.injector$Injector;
Is this a typo? It's giving me a warning in VSCode.
I was having the same problem, as it complete with no errors, I just added the following on analysis_options.yaml to ignore the error.
analyzer:
errors:
undefined_getter: ignore