requestIdleCallback method

int requestIdleCallback(
  1. IdleRequestCallback callback, [
  2. IdleRequestOptions? options
])

Implementation

int requestIdleCallback(IdleRequestCallback callback,
        [IdleRequestOptions? options]) =>
    js_util.callMethod(
        this, 'requestIdleCallback', [allowInterop(callback), options]);