copyWith method

WebApiModulesAgentOrderItemAddAListOfItemsRequest copyWith({
  1. String? orderId,
  2. String? itemList,
  3. String? itemType,
  4. String? recType,
})

Implementation

WebApiModulesAgentOrderItemAddAListOfItemsRequest copyWith({
  String? orderId,
  String? itemList,
  String? itemType,
  String? recType,
}) {
  return WebApiModulesAgentOrderItemAddAListOfItemsRequest(
    orderId: orderId ?? this.orderId,
    itemList: itemList ?? this.itemList,
    itemType: itemType ?? this.itemType,
    recType: recType ?? this.recType,
  );
}