ValidationError extension type
A validation error with detailed information about the location of the error.
Constructors
-
ValidationError.new(ValidationErrorType error, {required List<
String> path, String? details}) -
factory
-
ValidationError.fromMap(Map<
String, Object?> _value) -
ValidationError.typeMismatch({required List<
String> path, required Type expectedType, required Object? actualValue}) -
factory
Properties
Methods
-
toErrorString(
) → String