SchedulerPostTaskOptions constructor

SchedulerPostTaskOptions({
  1. AbortSignal? signal,
  2. TaskPriority? priority,
  3. int? delay,
})

Implementation

factory SchedulerPostTaskOptions(
        {AbortSignal? signal, TaskPriority? priority, int? delay}) =>
    SchedulerPostTaskOptions._(
        signal: signal ?? undefined,
        priority: priority?.value ?? undefined,
        delay: delay ?? 0);