BadRequestException.singleField constructor

BadRequestException.singleField(
  1. String path,
  2. String message, {
  3. String? keyword,
})

Implementation

BadRequestException.singleField(String path, String message,
    {String? keyword})
    : _validationErrors = [
        ValidationError(
          path: JsonPath.parsed(path),
          message: message,
          keyword: keyword,
        )
      ],
      super._(400, message: message);