has method

bool has(
  1. T val
)

Returns whether the given value is in this Set. @param {T} val The value to check. @return {boolean} Whether or not the value is contained within the Set.

Implementation

_i2.bool has(T val) => _i4.callMethod(
      this,
      'has',
      [val],
    );