remove duplicates in json in flutter

Solutions on MaxInterview for remove duplicates in json in flutter by the best coders in the world

showing results for - "remove duplicates in json in flutter"
Alessandro
27 Aug 2019
1var json = jsonDecode(yourJsonAsString);
2var records = mutableListFrom(json["records"]);
3var distinct = records.distinctBy((it) => it["Title"]);
4