Created
November 9, 2022 16:52
-
-
Save aniekan12/c8024d97cfbd2590f5f755f5342454c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:shopping_cart_with_bloc/core/api_provider/api_provider.dart'; | |
import 'package:shopping_cart_with_bloc/core/models/shopping_home.dart'; | |
class ShoppingHomeRepository { | |
final _apiProvider = ApiProvider(); | |
Future<List<ShoppingHomeModel>> getShoppingItems() async { | |
return _apiProvider.getShoppingItems(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment