contains method
Checks if this array contains a value. The check uses direct comparison between elements and the specified value.
value
a value to be checked Returns true if this array contains the value or false otherwise.
Implementation
@override
bool contains(dynamic value) {
for (var index = 0; index < _values.length; index++) {
var element = _values[index];
if (value == null && element == null) return true;
if (value == null || element == null) continue;
if (value == element) return true;
}
return false;
}