Restrict using built_value in unsupported ways
This release makes built_value
actively block use in three unsupported ways. If you do need any of these to work, please file an issue and we'll look into it.
- Use of
extends
is prohibited; useimplements
orextends Object with
instead. - Importing
package:built_value/built_value.dart
withshow
oras
is prohibited; this hides symbols from the generated code. - Use of SDK collections in fields is prohibited; they are mutable and break the
built_value
guarantees.
Any problems please file an issue here: https://github.com/google/built_value.dart/issues