ValidationError class
A ValidationError is a class that represents an error that occurred during the validation of a request.
Constructors
- ValidationError.new({String? location, String? msg, String? param})
- A ValidationError is a class that represents an error that occurred during the validation of a request. A ValidationError is a class that represents an error that occurred during the validation of a request. {@endtemplate}
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → String?
-
The location of the parameter which gave the error.
final
- msg → String?
-
The error message.
final
- param → String?
-
The parameter that caused the error.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited