I am new to Dart and i got stuck at this point for days.
I have multiple maps and these maps follow the same pattern (date:value) but their lengths are different. And these maps are increased dynamically.
For example:
Map1:{01.01.2021:2,02.01.2021:5,03.01.2021:3},
Map2:{02.01.2021:10,03.01.2021:4,04.01.2021:8},
Map3...
Map4...
...
I want to combine these maps and sum the values that contains the same key and store it in an another map. For the different keys, there will be no calculation and store as it is.
Result for Map1 & Map2:
Combined Map{01.01.2021:2,02.01.2021:(5+3),03.01.2021:(3+4),04.01.2021:8}
How can i perform such an operation considering that these maps are iterable inside a class or inside an another list.
Thank you in advance.