CompareTo<T extends Comparable<T>> class

Inheritance

Constructors

CompareTo(T? value, CompareType type, {String? message})
const
CompareTo.equal(T? value, {String? message})
const
CompareTo.greater(T? value, {String? message})
const
CompareTo.greaterOrEqual(T? value, {String? message})
const
CompareTo.less(T? value, {String? message})
const
CompareTo.lessOrEqual(T? value, {String? message})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
message String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type CompareType
final
value → T?
final

Methods

combine(Validator<T> other) Validator<T>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRevalidate(FormKey source) bool
inherited
toString() String
A string representation of this object.
inherited
validate(BuildContext context, T? value, FormValidationMode state) FutureOr<ValidationResult?>
override

Operators

operator &(Validator<T> other) Validator<T>
inherited
operator +(Validator<T> other) Validator<T>
inherited
operator ==(Object other) bool
The equality operator.
override
operator |(Validator<T> other) Validator<T>
inherited
operator ~() Validator<T>
inherited