This is a what is the best practice kind of a question.
I am working on a user login . Used bloc for login events like loginInProgress, UserNameValidation , PasswordValidation and LoginSuccess. Now after login I have huge set of data in terms of JSON response to store locally via database and shared preferences. I named this info sort of as session storage. This information have also multiple filter operations before storing in database or shared preferences.So means I have to first get relative data from the information then it will be ready to save. I am using repository pattern to get data. Now I am confused that should this information storage process or code will be written in repository file or it will be in same BLOC class of Login or it will be a separate Session Manager class.