ValidationResult class

Constructors

ValidationResult({String? errorMessage, Iterable<String>? memberNames})
ValidationResult.from(ValidationResult result)
Constructor that creates a copy of an existing ValidationResult.
factory

Properties

errorMessage String?
Gets the error message for this result. It may be null.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
memberNames List<String>
Gets the collection of member names affected by this result. The collection may be empty but will never be null.
no setter
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

Static Properties

success ValidationResult
final