description

# requestIdleCallback method Null safety

int requestIdleCallback (

1. IdleRequestCallback callback,
2. [Map? options]

)

## Implementation

    int requestIdleCallback(IdleRequestCallback callback, [Map? options]) {
      if (options != null) {
        var callback_1 = convertDartClosureToJS(callback, 1);
        var options_2 = convertDartToNative_Dictionary(options);
        return _requestIdleCallback_1(callback_1, options_2);
      }
      var callback_1 = convertDartClosureToJS(callback, 1);
      return _requestIdleCallback_2(callback_1);
    }