forked from eatvio/eatvio_app
32 lines
700 B
Dart
32 lines
700 B
Dart
// ignore_for_file: must_be_immutable
|
|
|
|
part of 'chat_bloc.dart';
|
|
|
|
/// Represents the state of Chat in the application.
|
|
class ChatState extends Equatable {
|
|
ChatState({
|
|
this.selectedDropDownValue,
|
|
this.chatModelObj,
|
|
});
|
|
|
|
SelectionPopupModel? selectedDropDownValue;
|
|
|
|
ChatModel? chatModelObj;
|
|
|
|
@override
|
|
List<Object?> get props => [
|
|
selectedDropDownValue,
|
|
chatModelObj,
|
|
];
|
|
ChatState copyWith({
|
|
SelectionPopupModel? selectedDropDownValue,
|
|
ChatModel? chatModelObj,
|
|
}) {
|
|
return ChatState(
|
|
selectedDropDownValue:
|
|
selectedDropDownValue ?? this.selectedDropDownValue,
|
|
chatModelObj: chatModelObj ?? this.chatModelObj,
|
|
);
|
|
}
|
|
}
|