postTask method

Future postTask(
  1. SchedulerPostTaskCallback callback, [
  2. SchedulerPostTaskOptions? options
])

Implementation

Future<dynamic> postTask(SchedulerPostTaskCallback callback,
        [SchedulerPostTaskOptions? options]) =>
    js_util.promiseToFuture(js_util
        .callMethod(this, 'postTask', [allowInterop(callback), options]));