Open diaodiallo opened 1 year ago
Returning null around here var existingItem = dataSource!.singleWhere(((itm) => itm[valueField] == item), orElse: () => null); at line 72 is causing this. I think should replace null by [] but I did not test it.
var existingItem = dataSource!.singleWhere(((itm) => itm[valueField] == item), orElse: () => null);
I could fix this by replacing () => null by null I will request a pull for this. Thanks
() => null
null
instead of using List<Map<String,dynamic> as data source just use List it will solve this issue
Returning null around here
var existingItem = dataSource!.singleWhere(((itm) => itm[valueField] == item), orElse: () => null);
at line 72 is causing this. I think should replace null by [] but I did not test it.