indexOf property

num Function(T, [num?]) indexOf

Implementation

_i2.num Function(
  T, [
  _i2.num?,
]) get indexOf => (
      T p0, [
      _i2.num? p1,
    ]) =>
        _i6.callMethod(
          _i6.getProperty(
            this,
            'indexOf',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i5.undefined,
          ],
        );
void indexOf=(num value(T, [num?]))

Implementation

set indexOf(
    _i2.num Function(
      T, [
      _i2.num?,
    ]) value) {
  _i6.setProperty(
    this,
    'indexOf',
    _i6.allowInterop(value),
  );
}