Javascript Get Distinct Values From Json Flutter