Closed
Description
Currently, the fromYaml
factory constructors are expecting mostly well formatted yaml contents, and will fail on casts rather than throw FormatException
s in a bunch of cases.
If other implementations of build.dart
do not use the toYaml
provided in this package, then this could potentially make the native_assets_builder fail in dartdev/flutter_tools.
We should program more defensively and throw FormatExceptions everywhere.