SchemaValidationResult class
Result of a validation operation
Constructors
-
SchemaValidationResult.failure(Map<
String, dynamic> errors) -
Creates a failed validation result with error message
factory
- SchemaValidationResult.failureMessage(String message)
-
Creates a failed validation result with error message
factory
- SchemaValidationResult.success()
-
Creates a successful validation result
factory
Properties
- errorMessage → String?
-
Gets a human-readable error message
no setter
-
errors
→ Map<
String, dynamic> -
Validation errors by field
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValid → bool
-
Whether validation passed
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited