HasValidationErrors mixin

A mixin that provides a way to access validation errors. used in FormController to handle validation errors.

Superclass constraints

Properties

errors Map<String, List<String>>
The map of field names to their corresponding errors.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited

Methods

getFieldErrors(String field) List<String>?
Returns the errors for the given field.
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