Create copyWrite Freezed model State
Budget: $10 – $30 USD
I need to create a new state for my copy. When I save to the endpoint, it erases the previous state and then keeps saving without a name.
Example:
I edit name, last name and email.
It edits normally.
So when I go to edit just one of these properties again, it saves only the properties that I edited, but the others arrive blank, that is, it should send the previous state together with the new properties of the new updated state.
Example:
I edit name, last name and email.
It edits normally.
So when I go to edit just one of these properties again, it saves only the properties that I edited, but the others arrive blank, that is, it should send the previous state together with the new properties of the new updated state.