PropertyValidator<T> class abstract

A base abstract class for validating a specific property of a model. This class is generic and can be used to validate properties of any type T. Subclasses must implement the validate method to provide custom validation logic.

Constructors

PropertyValidator.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
validate(T value) String?
Validates the given property value.

Operators

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