copyWith method

WebApiModulesHomeControlsLossAndDamageUpdateLossAndDamageItemResponse copyWith({
  1. int? newQuantity,
  2. int? status,
  3. bool? success,
  4. String? msg,
})

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);
}