copyWith method

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

Implementation

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