copyWith method

WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. List<String>? purchaseId,
  5. List<String>? itemId,
  6. int? quantityAdded,
})

Implementation

WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionResponse
copyWith({
  int? status,
  bool? success,
  String? msg,
  List<String>? purchaseId,
  List<String>? itemId,
  int? quantityAdded,
}) {
  return WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionResponse(
    status: status ?? this.status,
    success: success ?? this.success,
    msg: msg ?? this.msg,
    purchaseId: purchaseId ?? this.purchaseId,
    itemId: itemId ?? this.itemId,
    quantityAdded: quantityAdded ?? this.quantityAdded,
  );
}