BadRequestException.single constructor

BadRequestException.single(
  1. ValidationError error
)

Implementation

BadRequestException.single(ValidationError error)
    : _validationErrors = [error],
      super._(400, message: error.message);