Pair class Null safety

A pair of validators.

Constructors

Pair(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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

call(Object? input) String?
Valid — returns null — if input if valid for both validators.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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