4seer / openflutterecommerceapp

Open Flutter E-commerce App
GNU General Public License v3.0
849 stars 387 forks source link

Abstraction #103

Closed Yahhi closed 4 years ago

Yahhi commented 4 years ago

add abstraction level to be used across all data repositories. Abstract repository classes should be placed in data/abstract. There are already a definition of categories and product repositories. They are used in FakeModel. Data classes that will be used in these repositories are placed in data/abstract/model. Every implementation related to the specific backend or data source should use these models or create its own classes which will extend base model.