requestIdleCallback property

num Function(IdleRequestCallback, [IdleRequestOptions?]) get requestIdleCallback

Implementation

_i2.num Function(
  _i3.IdleRequestCallback, [
  _i3.IdleRequestOptions?,
]) get requestIdleCallback => (
      _i3.IdleRequestCallback p0, [
      _i3.IdleRequestOptions? p1,
    ]) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'requestIdleCallback',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
          ],
        );
set requestIdleCallback (num value(IdleRequestCallback, [IdleRequestOptions?]))

Implementation

set requestIdleCallback(
    _i2.num Function(
      _i3.IdleRequestCallback, [
      _i3.IdleRequestOptions?,
    ]) value) {
  _i4.setProperty(
    this,
    'requestIdleCallback',
    _i4.allowInterop(value),
  );
}