Created
November 9, 2022 17:23
-
-
Save aniekan12/d3ba48365119ccc8cd172ab455b62e4e 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
part of 'shopping_home_bloc.dart'; | |
@immutable | |
abstract class ShoppingHomeState {} | |
class ShoppingHomeInitial extends ShoppingHomeState {} | |
class ShoppingHomeLoading extends ShoppingHomeState {} | |
class ShoppingHomeLoaded extends ShoppingHomeState { | |
final List<ShoppingHomeModel> shoppingHomeModel; | |
ShoppingHomeLoaded({required this.shoppingHomeModel}); | |
} | |
class ShoppingHomeError extends ShoppingHomeState { | |
final String message; | |
ShoppingHomeError({required this.message}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment