contains method

bool contains(
  1. T val
)

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 contains(T val) => _i4.callMethod(
      this,
      'contains',
      [val],
    );