subject<S> static method

Validator<S> subject<S>()

Creates a validator that has yet to attach validation logic.

Implementation

static Validator<S> subject<S>() {
  return (S input) => Right(input);
}