24 lines
408 B
Dart
24 lines
408 B
Dart
part of 'chat_bloc.dart';
|
|
|
|
class ChatState extends Equatable {
|
|
const ChatState();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class ChatInitial extends ChatState {}
|
|
|
|
class ChatLoading extends ChatState {}
|
|
|
|
class ChatLoaded extends ChatState {
|
|
final ChatEntity chat;
|
|
|
|
const ChatLoaded({required this.chat});
|
|
|
|
@override
|
|
List<Object> get props => [chat];
|
|
}
|
|
|
|
class ChatFailure extends ChatState {}
|