NotEqualValidator class

A validator used to check if two inputs are not equal.

Constructors

NotEqualValidator(String key, Function compareTo, [String? compareToField])

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
no setterinherited
message String
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isValid(dynamic value) bool
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

Static Methods

notEqual(dynamic a, Function b) bool