CustomFieldErrors class

Defines custom error messages for different field error types

Constructors

CustomFieldErrors({required String? emptyError, required String? invalidError})
Create custom error messages by providing values for each error type
const
CustomFieldErrors.only({String? emptyError, String? invalidError})
Create custom error messages by providing values for only the desired error type(s)
const

Properties

emptyError String?
Custom error messge for when the field is empty
final
hashCode int
The hash code for this object.
no setterinherited
invalidError String?
Custom error message for when the field is invalid
final
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.
inherited

Operators

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