JsonMap extension
Extension on Map to make it easier to use as a json map.
Methods
-
read<T>(String name)
→ T?
-
name
is split using '.' and the map is traversed sequentially until the
value is returned. Throws an ArgumentError if T
does not match the value
found.