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 you add new model to generate all the code with build_runner please make sure you run this command in the terminal flutter packages pub run build_runner build --delete-conflicting-outputs
Already added
In model/user/ you will find:
Credentials
RefreshToken
User
UserCredentials
In model/task/:
Task
TaskEvent
TaskGroup
In model/task/api/:
CreateTask
CreateTaskGroup
This models are already in use with the chopper implementation. If you use your models in combination with the current chopper implementation, ResponseToTypeConverter will help you convert chopper's result Response to BodyType.
More information about ResponseToTypeConverter head to our wiki page for networking.
Feel free to add more or delete any of the models as you need.