ValidationResult class

The result of attempting to validate input data.

Constructors

ValidationResult()

Properties

data Map<String, dynamic>
The successfully validated data, filtered from the original input.
no setter
errors List<String>
A list of errors that resulted in the given data being marked invalid.
no setter
hashCode int
The hash code for this object.
no setterinherited
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
withData(Map<String, dynamic> data) ValidationResult
withErrors(Iterable<String> errors) ValidationResult

Operators

operator ==(Object other) bool
The equality operator.
inherited