InvalidRadiusException.tooLarge constructor
Creates an exception for radius that's too large.
Implementation
factory InvalidRadiusException.tooLarge(double value, double max) {
return InvalidRadiusException(
'Radius cannot exceed $max meters. Got: $value',
invalidValue: value,
maxValue: max,
code: 'RADIUS_TOO_LARGE',
);
}