isDeepEq<T> function
Checks whether the given value is equal to the otherValue value of type T
Implementation
IEskValidator isDeepEq<T>(T otherValue) =>
isType<T>() &
validator(
(value) => _collectionEquals(value, otherValue),
(value) => 'equal to ${pretifyValue(otherValue)}',
);