lodash_utility 0.0.1 copy "lodash_utility: ^0.0.1" to clipboard
lodash_utility: ^0.0.1 copied to clipboard

A dart utility library inspired by javascript lodash library.

Lodash_utility #

A dart utility library inspired by javascript lodash library.

Get #

Get value from a Map by path. Use dot notation in [path] to access nessted keys.

Map map = {'a': {'b': 1}};
var b = get(map, 'a.b');

Set #

Set value to a Map by path. Use dot notation in [path] to access nessted keys.

Map map = {'a': {'b': 1}};
map = set(map, 'a.b', 2);

Unset #

Unset a key from a Map by path. Use dot notation in [path] to access nessted keys

Map map = {'a': {'b': 1}, 'c': 2};
map = set(map, 'c'); // {'a': {'b': 1}}
1
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A dart utility library inspired by javascript lodash library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on lodash_utility