indexOf property

num Function(int, [num?]) get indexOf

Implementation

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

Implementation

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