<h3 dir="auto">Description</h3>
<p dir="auto">The <a href="https://github.com/dart-lang/reflectable">reflectable</a> package does not work with flutter v0.6.0, while it does work with v0.5.1.</p>
<h3 dir="auto">Minimal Example</h3>
<p dir="auto">Given the following minimal example: <a href="https://github.com/s-bauer/flutter_reflectable_minimal">https://github.com/s-bauer/flutter_reflectable_minimal</a></p>
<h3 dir="auto">Working with v0.5.1</h3>
<p dir="auto">With v0.5.1 it works like expected. I execute the <code class="notranslate">tools/builder.dart</code> script using the following command<br>
<code class="notranslate">flutter packages pub run tools/builder.dart lib/main.dart</code></p>
<p dir="auto">It produces the expected <code class="notranslate">main.reflectable.dart</code> output producing the following <a href="https://gist.github.com/f8b2179af387ae4783c71063166b5772">OUTPUT</a></p>
<h3 dir="auto">Failing with v0.6.0+</h3>
<p dir="auto">With version v0.6.0 I execute the same command, but this time it fails with the following <a href="https://gist.github.com/e7b903f06b7c8688ecd95e1d3f79d7c1">OUTPUT</a>.<br>
I tested it with version v0.6.0 and  0.6.2-pre.15, maybe the bug even occurred in earlier versions of flutter. I haven't checked that!</p>
<p dir="auto"><br>
<br>
<br>
<br>
I have no idea how to further investigate this issue. Can you please look into it and find out what is going wrong here?</p>
<p dir="auto">Running the built_value generator on flutter code currently spits out a severe error:</p>
<p dir="auto"><code class="notranslate">[SEVERE] Instance of 'PartBuilder' on dartsugar|lib/models/module_data.dart: Unable to resolve asset ID for "dart:ui"</code></p>
<p dir="auto">It still works, but I wonder if 1) there is potential for things to break down the line, in which case we should make sure this doesn't happen; and 2) there's a way to do it without getting the warning. Any ideas please?</p>
<p dir="auto">See: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="282653884" data-permission-text="Title is private" data-url="https://github.com/google/built_value.dart/issues/282" data-hovercard-type="issue" data-hovercard-url="/google/built_value.dart/issues/282/hovercard" href="https://github.com/google/built_value.dart/issues/282">google/built_value.dart#282</a></p>