Flutter : Dependency Injection error (A value of type 'HomeService' can't be returned from function)

前端 未结 0 1011
时光取名叫无心
时光取名叫无心 2020-11-27 03:21

I\'m trying to use MVP method to catch data by using api in this part i faced problem

HomeRepositry get homeRepositry {
    return new HomeService(); ////
  }         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题