copyWith method

WebApiModulesWarehousePickListUtilityItemStartSessionResponse copyWith({
  1. String? sessionId,
  2. String? inventoryTypes,
  3. String? inventoryTypeIds,
  4. int? status,
  5. bool? success,
  6. String? msg,
})

Implementation

WebApiModulesWarehousePickListUtilityItemStartSessionResponse copyWith({
  String? sessionId,
  String? inventoryTypes,
  String? inventoryTypeIds,
  int? status,
  bool? success,
  String? msg,
}) {
  return WebApiModulesWarehousePickListUtilityItemStartSessionResponse(
    sessionId: sessionId ?? this.sessionId,
    inventoryTypes: inventoryTypes ?? this.inventoryTypes,
    inventoryTypeIds: inventoryTypeIds ?? this.inventoryTypeIds,
    status: status ?? this.status,
    success: success ?? this.success,
    msg: msg ?? this.msg,
  );
}