ValidationContext class

Constructors

ValidationContext({required ICheckitErrors errors, required Warnings warnings, required ValidationResourcesBase resources, required CaseHandling caseHandling, required bool usePermanentCache, required bool stopOnFirstError})
const
ValidationContext.defaultContext()
factory

Properties

caseHandling → CaseHandling
Controls case sensitivity behavior during string validation.
final
errors → ICheckitErrors
The error message providers used by validators.
final
hashCode → int
The hash code for this object.
no setterinherited
resources → ValidationResourcesBase
Additional resources that can be used during validation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stopOnFirstError → bool
Whether validation should stop at the first error encountered.
final
usePermanentCache → bool
If true, validators will reuse resources between validations.
final
warnings → Warnings
The warning providers used for supplementary messages or notices.
final

Methods

copyWith({ICheckitErrors? errors, Warnings? warnings, ValidationResourcesBase? resources, CaseHandling? caseHandling, bool? usePermanentCache, bool? stopOnFirstError}) → ValidationContext
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