Hey Guys you can find the source code on GitHub here: github.com/Coding-Orbit/flutter_consume_api_bloc.git
@nguyenvanmanh13682 жыл бұрын
thank you, very good and it helps me to understand, i have a question. If I have many other features, I will also create multiple bloc folder and repository folder by each feature?
@codingorbit2 жыл бұрын
Yes definitely each feature has its own events, states and bloc. You can have common repositories among several blocs
@nguyenvanmanh13682 жыл бұрын
@@codingorbit thanks you
@nguyenvanmanh13682 жыл бұрын
@@codingorbit should i put models folder in each feature?
@codingorbit2 жыл бұрын
@@nguyenvanmanh1368 It's up to you, you can have one directory for all models in the app or separate model directory for each feature
@sobirtojiyev46312 жыл бұрын
Very useful for me :) thanks
@codingorbit2 жыл бұрын
My pleasure!
@aptimyzeteam32712 жыл бұрын
Do you have repo where this code is stored ?
@codingorbit2 жыл бұрын
Yeah sure I will pin it today
@faizulla5838 Жыл бұрын
how rhis is Rest .... not to json????
@codingorbit Жыл бұрын
I'm not sure I understand
@faizulla5838 Жыл бұрын
@@codingorbit I think Rest API is to CRUD....and REST API will have fromJson and toJson.... Are I have mistake????
@codingorbit Жыл бұрын
The idea of this video is to connect any rest api with bloc state management pattern
@faizulla5838 Жыл бұрын
@@codingorbit Yes...good. I need video to CRUD API + BloC...+Repository... verry hard need. meiby You are did it ....naw ))), why not??? ,😃
@codingorbit Жыл бұрын
This video helps you achieve what you want but with some modifications