Files
eatvio_app/lib/presentation/height_screen/bloc/height_state.dart

32 lines
730 B
Dart

// ignore_for_file: must_be_immutable
part of 'height_bloc.dart';
/// Represents the state of Height in the application.
class HeightState extends Equatable {
HeightState({
this.selectedDropDownValue,
this.heightModelObj,
});
SelectionPopupModel? selectedDropDownValue;
HeightModel? heightModelObj;
@override
List<Object?> get props => [
selectedDropDownValue,
heightModelObj,
];
HeightState copyWith({
SelectionPopupModel? selectedDropDownValue,
HeightModel? heightModelObj,
}) {
return HeightState(
selectedDropDownValue:
selectedDropDownValue ?? this.selectedDropDownValue,
heightModelObj: heightModelObj ?? this.heightModelObj,
);
}
}