equalsAny method
Checks if num equals any item in the list
Parameters
values
: The list of values to compare
Returns
true
if this value equals any item in the listfalse
otherwise
Implementation
bool equalsAny(List<num> values) => values.any((v) => equals(v));