inFuture method

B inFuture({
  1. bool allowNow = true,
  2. String? message,
})

Validate that the DateTime is in the future.

Implementation

B inFuture({bool allowNow = true, String? message}) {
  return add(isDateInFuture(allowNow: allowNow), message: message);
}