[
{
"booking_no": "HC60398",
"sender_name": "Tanvir",
"receiver_name": "House",
"sender_image": "image link",
"receiver_image": "image link",
"chat_id": "2",
"message": "hlw",
"files": [],
},
{
"booking_no": "HC60398",
"sender_name": "Tanvir",
"receiver_name": "House",
"sender_image": "image link",
"receiver_image": "image link",
"chat_id": "2",
"message": "hi",
},
{
"booking_no": "HC60399",
"sender_name": "Tanvir",
"receiver_name": "House",
"sender_image": "image link",
"receiver_image": "image link",
"chat_id": "2",
"message": "hlw",
"files": [],
},
]
how can I remove the same booking id data from the list, when I use contains its don’t work cause, in this list only booking no are same but other value was different
2
Answers
Try:
You can use this method to get your result:
change
YourListHere
with your list.