dynamic_value 2.5.0
dynamic_value: ^2.5.0 copied to clipboard
The easy way to work with JSON data, safe access to nested data in the Map and safe type conversion.
2.5.0 #
- Breaking change: Now in the
toMap<K, V>method, the converted key is passed as the second parameter to thevalueBuilderandvalueRawBuildercallbacks.
2.0.2 #
- The
toBoolmethod now returns a null-safe type.
2.0.1 #
- The
toList<T>method can now return a list ofMapvalues that have been cast to the required type.
2.0.0 #
- Added the
toMap<K, V>method to support typedMapclasses. - Types and parameters are now specified in builders.
2.0.0-nullsafety.4 #
- Improved
toList<T>method to support differentIterableclasses.
2.0.0-nullsafety.3 #
- In the
to<T>andtoList<T>methods, thedefaultValueargument type has been changed fromdynamictoT?/List<T>?.
2.0.0-nullsafety.2 #
- Operator
[]now returns typeDynamicValueinstead of typedynamic.
2.0.0-nullsafety.1 #
- Migrate to null safety.
1.0.1+1 #
- Operator
[]now returns typeDynamicValueinstead of typedynamic.
1.0.1 #
- Fixed bug in
.toList()method. - Added examples.
1.0.0+1 #
- Initial version