requiredWithoutAll function

ContextValidator requiredWithoutAll (
  1. Iterable<String> keys
)

Assert that a key x is present, if none of the given keys are.

Implementation

ContextValidator requiredWithoutAll(Iterable<String> keys) =>
    _require((ctx) => !keys.any(ctx.containsKey));