You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deserialization is done and model contains list, they should be immutable (meaning use growable:false) to prevent miss usage add allow add/remove items into those list.
The text was updated successfully, but these errors were encountered:
If models are annotated with @immutable it means we want immutable models so everything should be immutable not only final fields. People who doesn't want immutable would be able to work on top of the list like this. Or you can still create a list from the immutable one if you want to
When deserialization is done and model contains list, they should be immutable (meaning use
growable:false
) to prevent miss usage add allow add/remove items into those list.The text was updated successfully, but these errors were encountered: