Closed clangenb closed 8 months ago
@clangenb The code is generated without any issues. Could you please provide a reproducible code?
Ok, I see. Interesting. I have assumed that my code is minimal enough to rule out that this error is from something else. I will revisit this soon, but close this issue now under the assumption that the error is due to my code.
I have a
@computed
defined like this:When I ran the build runner, it gave me a
null check operator used on null value
error. However, when I fill in the original typeUint8List
it works.Even more interestingly, if I replace the
Uint8List
with theBlockHash
after a successful build, it works, but it keeps theUint8List
in the generated file.