ValidationError constructor
const
ValidationError({
- required String message,
- String? field,
- required ValidationErrorType type,
- String? details,
Creates a new ValidationError instance.
Implementation
const ValidationError({
required this.message,
this.field,
required this.type,
this.details,
});