// 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.weightController, this.weightModelObj, }); TextEditingController? weightController; WeightModel? weightModelObj; @override List get props => [ weightController, weightModelObj, ]; WeightState copyWith({ TextEditingController? weightController, WeightModel? weightModelObj, }) { return WeightState( weightController: weightController ?? this.weightController, weightModelObj: weightModelObj ?? this.weightModelObj, ); } }