Checks for equality between the current T and the method value
T
value
bool equals(T? value) => this == value;