Does anyone know how to deep copy a list of objects in flutter? i can't use jsonencode|decode / copyWith . i have a nested json and I want to translate it and also revert back to normal, that's why I am creating another variable to store the original but as flutter does shallow copy I can't use it that way. any ideas?
Download the medial app to read full posts, comements and news.