import 'package:equatable/equatable.dart'; import 'package:eye_video/bizmodule/main/community/model/community_model.dart'; abstract class CommunityState extends Equatable { @override List get props => []; const CommunityState(); } class StateRequestSuccess extends CommunityState { final List communityList; final bool hasNextPage; const StateRequestSuccess(this.communityList, this.hasNextPage); List get props => [communityList, hasNextPage]; } class StateRequestLoading extends CommunityState { List get props => []; } class StateRequestFailure extends CommunityState { List get props => []; } class StateRequestEmpty extends CommunityState { List get props => []; }