Flutter clean architecture / Idan Biton
The clean architecture seperates its features by lib/features/FEATURE_NAME
Feature structure is seperate into 3 parts:
PART 1 /data
Repository - Handle API methods by success status.
PART 2 /domain
this part must be Independent & seperate into 3 parts
1. entities - Basically a model.use FREEZED Here so post_model.dart ➡️ post_entity.dart
2. repository - API Methosds Summary list of /data/repository
As you can see this code /domain/repository/post_repository.dart
is summary of /data/repostory/post_repository_impl.dart that mentioned in PART 1