copyWith method
Implementation
WebApiModulesHomeControlsLossAndDamageUpdateLossAndDamageItemResponse
copyWith({int? newQuantity, int? status, bool? success, String? msg}) {
return WebApiModulesHomeControlsLossAndDamageUpdateLossAndDamageItemResponse(
newQuantity: newQuantity ?? this.newQuantity,
status: status ?? this.status,
success: success ?? this.success,
msg: msg ?? this.msg);
}