Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -13,7 +13,7 @@ class MockRepository implements IHomeRepository { | @@ -13,7 +13,7 @@ class MockRepository implements IHomeRepository { | ||
| 13 | await Future.delayed(Duration(milliseconds: 100)); | 13 | await Future.delayed(Duration(milliseconds: 100)); | 
| 14 | 14 | ||
| 15 | if (Random().nextBool()) { | 15 | if (Random().nextBool()) { | 
| 16 | - CasesModel( | 16 | + return CasesModel( | 
| 17 | global: Global(totalDeaths: 100, totalConfirmed: 200), | 17 | global: Global(totalDeaths: 100, totalConfirmed: 200), | 
| 18 | ); | 18 | ); | 
| 19 | } | 19 | } | 
- 
Please register or login to post a comment