ValidationError constructor
const
ValidationError({
- required String message,
Creates a new ValidationError instance.
The message should describe what validation rule was violated.
Implementation
const ValidationError({required super.message});