Yes, you are right. It’s the radiance that matters. I just wanted to point out that the frequency does make a difference and this is especially important for flashlights. It’s almost impossible to damage your eye with a warm-white LED. A cool-white LED can damage your eye though if it’s bright enough, you are close enough to it and you look at it for an extended period of time under high discomfort. To damage your eyes with an LED that emits visible light in a short period of time (seconds/minutes/hours) you need to go beyond the point of discomfort, but it’s certainly possible.

Lasers are a whole other topic. As has already been discussed they are completely unnatural light sources that the human eye has no protection against. Because of their extreme focus, even with very small optics, they present additional dangers which in practise don’t apply to LEDs.