// ignore_for_file: must_be_immutable part of 'weight_bloc.dart'; /// Represents the state of Weight in the application. class WeightState extends Equatable { WeightState({ this.selectedDropDownValue, this.weightModelObj, }); SelectionPopupModel? selectedDropDownValue; WeightModel? weightModelObj; @override List get props => [ selectedDropDownValue, weightModelObj, ]; WeightState copyWith({ SelectionPopupModel? selectedDropDownValue, WeightModel? weightModelObj, }) { return WeightState( selectedDropDownValue: selectedDropDownValue ?? this.selectedDropDownValue, weightModelObj: weightModelObj ?? this.weightModelObj, ); } }