source_gen
source_gen copied to clipboard
TypeChecker.forRuntime doesn't work on windows
The same happened to me on flutter 3.19.6. But I can't repeat the problem.
On macOS with example app TypeChecker.fromRuntime works just fine. But on another app if I call TypeChecker.fromRuntime(SomeClass).hasAnnotationOf(FieldElement) with the same code it fails.
Actually, it was because of my field was getter, my bad.