dynamic_value 2.0.2 dynamic_value: ^2.0.2 copied to clipboard
The easy way to work with JSON data, safe access to nested data in the Map and safe type conversion.
2.0.2 #
- The
toBool
method now returns a null-safe type.
2.0.1 #
- The
toList<T>
method can now return a list ofMap
values that have been cast to the required type.
2.0.0 #
- Added the
toMap<K, V>
method to support typedMap
classes. - Types and parameters are now specified in builders.
2.0.0-nullsafety.4 #
- Improved
toList<T>
method to support differentIterable
classes.
2.0.0-nullsafety.3 #
- In the
to<T>
andtoList<T>
methods, thedefaultValue
argument type has been changed fromdynamic
toT?
/List<T>?
.
2.0.0-nullsafety.2 #
- Operator
[]
now returns typeDynamicValue
instead of typedynamic
.
2.0.0-nullsafety.1 #
- Migrate to null safety.
1.0.1+1 #
- Operator
[]
now returns typeDynamicValue
instead of typedynamic
.
1.0.1 #
- Fixed bug in
.toList()
method. - Added examples.
1.0.0+1 #
- Initial version