ValidationResult class
Constructors
-
ValidationResult.new(ValidationType type, List<
ValidationMessage> messages, {String? statusInfo}) -
ValidationResult.type should only equal
ValidationResult.success
if nomessages
are hints or errors. - ValidationResult.crash(Object error, [StackTrace? stackTrace])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- leadingIcon → String
-
no setter
-
messages
→ List<
ValidationMessage> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusInfo → String?
-
final
- type → ValidationType
-
final
- typeStr → String
-
The string representation of the type.
no setter
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