copyWith method

WebApiModulesAgentPurchaseOrderPurchaseOrderApprovalRequest copyWith({
  1. String? officeLocationId,
  2. String? departmentId,
  3. bool? includeNewPo,
})

Implementation

WebApiModulesAgentPurchaseOrderPurchaseOrderApprovalRequest copyWith({
  String? officeLocationId,
  String? departmentId,
  bool? includeNewPo,
}) {
  return WebApiModulesAgentPurchaseOrderPurchaseOrderApprovalRequest(
    officeLocationId: officeLocationId ?? this.officeLocationId,
    departmentId: departmentId ?? this.departmentId,
    includeNewPo: includeNewPo ?? this.includeNewPo,
  );
}