ValidationException class

Default implementation of ValidationException which carries a attribute and validationRule.

Implemented types

Constructors

ValidationException(String attribute, ValidationRule validationRule)
Creates a new ValidationException using a attribute and validationRule.

Properties

attribute String
Attribute that the validation failed on.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validationRule ValidationRule
ValidationRule that the attribute failed on.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a description of the exception.
override
toTextFieldMessage() String
TextField error message.

Operators

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