Fix for built_collection 2.0.0
The built_collection
package now has separate interfaces and implementations, which changes the runtimeType
of collection instances. Most people don't need to worry about this, but built_value
now needs to be a bit smarter about serialization.