isBeforeOrEqual method

FieldValidator<T, TimeOfDay> isBeforeOrEqual(
  1. TimeOfDay other, [
  2. MessageCallBack<TimeOfDay>? message
])

check if the value is before other or at the same moment

Implementation

FieldValidator<T, TimeOfDay> isBeforeOrEqual(TimeOfDay other,
    [MessageCallBack<TimeOfDay>? message]) {
  return isBeforeOrEqualFn(() => other, message);
}