wasabeef / flutter-architecture-blueprints

Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to developing Flutter apps.
MIT License
1.61k stars 261 forks source link

How to you guard or guardFuture in case of post or patch call #57

Open Adiwin opened 3 years ago

Adiwin commented 3 years ago

Suppose there is some get call like this

abstract class NewsRepository {
       Future<Result<News>> getNews(int page, String category, String mode)
}
zione commented 3 years ago

how to resolve

TheEnsis commented 3 years ago

I need example too.