WhenValidator constructor
- required IValidator condition,
- required IValidator then,
- required IValidator otherwise,
- bool nullable = false,
- bool optional = false,
Implementation
WhenValidator({
required this.condition,
required this.then,
required this.otherwise,
super.nullable,
super.optional,
});