ValidateOptionsResult class
Represents the result of an options validation.
Constructors
Properties
- failed ↔ bool
-
True if validation failed.
getter/setter pair
- failureMessage ↔ String
-
Used to describe why validation failed.
getter/setter pair
-
failures
↔ Iterable<
String> -
Full list of failures (can be multiple).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipped ↔ bool
-
True if validation was not run.
getter/setter pair
- succeeded ↔ bool
-
True if validation was successful.
getter/setter pair
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
Static Properties
- skip ↔ ValidateOptionsResult
-
Result when validation was skipped due to name not matching.
getter/setter pair
- success ↔ ValidateOptionsResult
-
Validation was successful.
getter/setter pair
Static Methods
-
fail(
Iterable< String> failures) → ValidateOptionsResult - Returns a failure result.