angel3_merge_map 2.0.2
angel3_merge_map: ^2.0.2 copied to clipboard

discontinued

Combine multiple Maps into one. Equivalent to Object.assign in JS.

example/main.dart

import 'package:angel3_merge_map/angel3_merge_map.dart';

void main() {
  // ignore: omit_local_variable_types
  Map map1 = {'hello': 'world'};

  // ignore: omit_local_variable_types
  Map map2 = {
    'foo': {'bar': 'baz', 'this': 'will be overwritten'}
  };

  // ignore: omit_local_variable_types
  Map map3 = {
    'foo': {'john': 'doe', 'this': 'overrides previous maps'}
  };
  var merged = mergeMap([map1, map2, map3]);
  print(merged);

  // {hello: world, foo: {bar: baz, john: doe, this: overrides previous maps}}
}
0
likes
0
pub points
62%
popularity

Suggested replacement

belatuk_merge_map

Publisher

dukefirehawk.com

Combine multiple Maps into one. Equivalent to Object.assign in JS.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

More

Packages that depend on angel3_merge_map