passes abstract method

FutureOr<bool> passes(
  1. ValidationContext context
)

Validates the value using the given context.

Returns true if valid, otherwise false.

Implementation

FutureOr<bool> passes(ValidationContext context);