forked from eatvio/eatvio_app
32 lines
730 B
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,
|
|
);
|
|
}
|
|
}
|