validators/contextual library

Functions

resolve(IValidator? resolver(Map parentObject)) ResolveValidator
Creates a provider validator that depends on the parent object.
when(IValidator condition, {required IValidator then, required IValidator otherwise, String? message}) IValidator
Creates a conditional validator. It's conditional based on some other field in the eskema.