copyWith method

WebApiModulesAgentOrderCompletePoWorksheetSessionResponse copyWith({
  1. List<String>? purchaseOrderIds,
  2. List<String>? orderIds,
  3. int? status,
  4. bool? success,
  5. String? msg,
})

Implementation

WebApiModulesAgentOrderCompletePoWorksheetSessionResponse copyWith(
    {List<String>? purchaseOrderIds,
    List<String>? orderIds,
    int? status,
    bool? success,
    String? msg}) {
  return WebApiModulesAgentOrderCompletePoWorksheetSessionResponse(
      purchaseOrderIds: purchaseOrderIds ?? this.purchaseOrderIds,
      orderIds: orderIds ?? this.orderIds,
      status: status ?? this.status,
      success: success ?? this.success,
      msg: msg ?? this.msg);
}