Describe the bug
A bug was reported to me that when a library is imported under an alias, the code-generation is not using this alias.
To Reproduce
Steps to reproduce the behavior, e.g.:
- Create new Driver
- Import a library to the driver using an alias. e.g.
import '../../constants.dart' as foo;
- Use the alias in code e.g.: 'foo.SomeClass get class => ...'
- Run the generator to generate the test driver
- Observe that code was not generated using the alias
Expected behavior
If I import stuff using an alias, the code generator should also use the alias
Describe the bug
A bug was reported to me that when a library is imported under an alias, the code-generation is not using this alias.
To Reproduce
Steps to reproduce the behavior, e.g.:
import '../../constants.dart' as foo;Expected behavior
If I import stuff using an alias, the code generator should also use the alias