copyWith method

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

Implementation

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