ReactiveX / rxdart

The Reactive Extensions for Dart

Home Page:http://reactivex.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

question: how based on foo list item, change bar list item with RxDart ?

resfandiari opened this issue · comments

Is it possible to do this with RxDart?

 fooList.map((foo) {
    barList.map((bar) {
       if (bar.id == foo.id)
         {
              return bar.copyWith(isEnable: true);
         }
              return bar;
    }).toList();
 }).toList();

You can use scan