Entity vs Model in Flutter Clean Architecture

  Рет қаралды 2,615

Flutter Guys

Flutter Guys

Күн бұрын

Пікірлер: 8
@Anilkumar-ec8sj
@Anilkumar-ec8sj 2 ай бұрын
I would suggest to make notes or presentation lot of things said skips in mind better to go point by point .. great and useful video , thanks
@jhonrhayparreno7220
@jhonrhayparreno7220 3 ай бұрын
I have a question when rendering in the UI layer do you used entities or models? or when setting up in the bloc state?
@Chaplin_law
@Chaplin_law 3 ай бұрын
I think it makes more sense to use entities when it comes to the presentation layer
@thesunstep
@thesunstep 2 ай бұрын
He explained this in the video, the server gives data, which the model converts into an object. Then you pass that model and map it to an entity. Then in the presentation layer you use the entity.
@ji_ukor
@ji_ukor 3 ай бұрын
I don't call my model, I call it Entities and DTOs
@saroj6062
@saroj6062 3 ай бұрын
If i use freezed for modeling, how do i manage model , entity. And where should be that freezed model ? domain or data layer. My question is, how can we use freezed in clean architecture?
@ChorumTheDevourer
@ChorumTheDevourer 3 ай бұрын
Freezed class and toEntity method/fromEntity factory must be placed in data layer in model only. Entity - this is a simple and clean class without any logic. Freezed is very useful for model generation, this package can save you from a boilerplated code, but build runner is very slow on the big projects. If you using any other generators like retrofit generator, hive generator or riverpod generator, building/watching in the project with a many of freezed model becomes painful.
@aouadicharaf1038
@aouadicharaf1038 3 ай бұрын
❤❤❤
Flutter Clean Architecture Visual Explanation
6:15
Flutter Mapp
Рет қаралды 33 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Laravel + Service Pattern + DTOs = ❤️❤️❤️
17:52
Przemysław Przyłucki
Рет қаралды 54 М.
Domain-Driven Design: The Last Explanation You'll Ever Need
21:05
Software Developer Diaries
Рет қаралды 17 М.
10x Your Speed With Flutter
8:04
Flutter Mapp
Рет қаралды 81 М.
Windsurf vs Cursor: In-Depth AI Code Editor Comparison
18:14
Yifan - Beyond the Hype
Рет қаралды 21 М.
Unit Test with Mockito in Flutter
11:26
AI with Flutter
Рет қаралды 4,2 М.
Flutter Clean Architecture
19:58
HeyFlutter․com
Рет қаралды 27 М.
Vertical Slice Architecture Project Setup From Scratch
22:43
Milan Jovanović
Рет қаралды 66 М.
SQL: Оптимизация запросов. Теория и практика
30:04
Kirill Grishchuk - Software Engineer
Рет қаралды 1,7 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН