remove duplicates in json in flutter

JavaScript
var json = jsonDecode(yourJsonAsString);
var records = mutableListFrom(json["records"]);
var distinct = records.distinctBy((it) => it["Title"]);

Source

Also in JavaScript: