Returns a single sample of a random value within the distribution.
@override double sample({Random? random}) => a + (b - a) * ((random ?? _random).nextDouble());