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