The Dirichlet problem for gradient dependent prescribed mean curvature equations in the Lorentz–Minkowski space