Is there any dart equivalent for jquery extend?
dart, jquery
Solution
I have ported it for the Angular Dart UI project, but it's not yet properly tested (but in used in the Rating component)
https://github.com/akserg/angular.dart.ui/blob/master/lib/helper/extend.dart
will be moved shortly to
https://github.com/akserg/angular.dart.ui/blob/master/lib/utils/extend.dart
Problem
I want to merge two Maps. I can use Map.addAll method, but this method does not support deep merge. I want to use addAll for all Maps and equvivalent method for Lists inside. Recursive solution is not simple task for me and using JS iterop is dirty. Any solution?