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