ValidationErrorDTO constructor

ValidationErrorDTO({
  1. String? objectName,
  2. String? objectIndex,
  3. String? propertyPath,
  4. Object? invalidValue,
  5. String? code,
  6. Map<String, Object> details = const {},
  7. String? message,
})

Returns a new ValidationErrorDTO instance.

Implementation

ValidationErrorDTO({
  this.objectName,
  this.objectIndex,
  this.propertyPath,
  this.invalidValue,
  this.code,
  this.details = const {},
  this.message,
});