validator abstract method

FutureOr<Result> validator(
  1. dynamic value
)

Core validation function (may return a Result or Future<Result>). Don't call directly, use validate or validateAsync.

Implementation

FutureOr<Result> validator(dynamic value);