includes method

bool includes(
  1. E element, [
  2. int? fromIndex
])

Implementation

bool includes(E element, [int? fromIndex]) =>
    jsu.callMethod(this, 'includes', [element, fromIndex]);