additionalEqualityCheck property

bool additionalEqualityCheck

The additional equality check mitigates hash collisions with an additional equality check for each parameter, independent from the generated hash.

It will also check if the objects are still equal and haven't changed since caching which shouldn't happen for cached instances.

Implementation

bool get additionalEqualityCheck => true;