check method

  1. @override
RequestParamCheckResult<T> check()
override

Implementation

@override
RequestParamCheckResult<T> check() {
  final Set<T> fields = {};
  for (var f in _fields) {
    if ((failedChecker ?? _defaultChecker)(f)) fields.add(f);
  }
  return RequestParamCheckResult(checkFailedFields: fields, label: label);
}