call method
Implementation
@override
Object? call(T value) {
if (equals != null && equals == value) {
return EqualityValidationError<T>(
validation: this,
code: errorCode,
equals: equals,
);
} else if (identical != null && core.identical(identical, value)) {
return EqualityValidationError<T>(
validation: this,
code: errorCode,
identical: identical,
);
}
return null;
}