I am driving for Doordash - a few delivery service similar to GrubHub or Uber Eats. Can I deduct the mileage I drive on deliveries in 2018?

I know the tax law changed in 2018 and I want to be sure mileage is still deductible when I am a 1099 worker.  I track all my miles