Is there any dart equivalent for jquery?

I want to combine two Maps. I can use the Map.addAll method, but this method does not support deep merging. I want to use addAll for all Maps and the equivivalent method for lists inside. A recursive solution is not an easy task for me, and using JS iterop is dirty. Any solution?

+4
source share
1 answer

I ported it for the Angular Dart UI project , but it has not yet been tested correctly (but used in the Rating component)

https://github.com/akserg/angular.dart.ui/blob/master/lib/helper/extend.dart

will be moved soon to

https://github.com/akserg/angular.dart.ui/blob/master/lib/utils/extend.dart

+2

Source: https://habr.com/ru/post/1524981/


All Articles