DynamicValue
are made comparable byvalue
, for example this can be used in tests.- Minimum Dart version raised to 3.1.0.
- Breaking change: Now in the
toMap<K, V>
method, the converted key is passed as the second parameter to thevalueBuilder
andvalueRawBuilder
callbacks.
- The
toBool
method now returns a null-safe type.
- The
toList<T>
method can now return a list ofMap
values that have been cast to the required type.
- Added the
toMap<K, V>
method to support typedMap
classes. - Types and parameters are now specified in builders.
- Improved
toList<T>
method to support differentIterable
classes.
- In the
to<T>
andtoList<T>
methods, thedefaultValue
argument type has been changed fromdynamic
toT?
/List<T>?
.
- Operator
[]
now returns typeDynamicValue
instead of typedynamic
.
- Migrate to null safety.
- Operator
[]
now returns typeDynamicValue
instead of typedynamic
.
- Fixed bug in
.toList()
method. - Added examples.
- Initial version