StringLengthValidationError class

Represents an error indicating that a required value is missing

Inheritance

Constructors

StringLengthValidationError(String fieldName, {required int length, int? minLength, int? maxLength})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
final
maxLength int?
final
minLength int?
final
propertyName String
The name of the field with the error
finalinherited
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