requestIdleCallback method

int requestIdleCallback (IdleRequestCallback callback, [ Map options ])

Implementation

int requestIdleCallback(IdleRequestCallback callback, [Map options]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    return _requestIdleCallback_1(callback, options_1);
  }
  return _requestIdleCallback_2(callback);
}