Pair class
A pair of validators.
Constructors
- Pair.new(ValObj _first, ValObj _second)
-
A pair of validators of type ValObj.
const
- Pair.str(ValStr first, ValStr second)
- A pair of validators of type ValStr.
- Pair.str1(ValStr first, ValObj second)
- A pair of validators of which the first one is of type ValStr.
- Pair.str2(ValObj first, ValStr second)
- A pair of validators of which the second one is of type ValStr.
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
-
call(
Object? input) → String? -
Valid — returns null — if
input
if valid for both validators. -
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