has method
Returns whether the given value is in this List. @param {T} val The value to check. @return {boolean} Whether or not the value is contained within the List.
Implementation
_i2.bool has(T val) => _i4.callMethod(
this,
'has',
[val],
);