dependsOnAll method
Declares multiple dependencies at once.
This is syntactic sugar over calling dependsOn repeatedly.
Implementation
RuleFor<T> dependsOnAll(Iterable<String> fieldNames) {
for (final f in fieldNames) {
dependsOn(f);
}
return this;
}