ValidationResult class
Constructors
-
ValidationResult.auto(bool isValid, List<
String> errors) -
factory
-
ValidationResult.failure(List<
String> errors) -
factory
- ValidationResult.single(String? message)
-
factory
- ValidationResult.success()
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prettyPrint(
{String prefix = '', bool useColors = true}) → void -
toMessageString(
[String separator = '\n']) → String? -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator &(
ValidationResult other) → ValidationResult -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
ValidationResult other) → ValidationResult -
operator ~(
) → ValidationResult