validate method
Implementation
@override
String? validate(F form, E key, int value) {
final otherValue = form.getValueByKey(otherKey);
if (otherValue is! int) return null;
if (value >= otherValue) {
return loc.lessThanFieldError(otherValue);
}
return null;
}