const ZoneSpecification({HandleUncaughtErrorHandler handleUncaughtError, RunHandler run, RunUnaryHandler runUnary, RunBinaryHandler runBinary, RegisterCallbackHandler registerCallback, RegisterUnaryCallbackHandler registerUnaryCallback, RegisterBinaryCallbackHandler registerBinaryCallback, ErrorCallbackHandler errorCallback, ScheduleMicrotaskHandler scheduleMicrotask, CreateTimerHandler createTimer, CreatePeriodicTimerHandler createPeriodicTimer, PrintHandler print, ForkHandler fork })

Creates a specification with the provided handlers.

Source

const factory ZoneSpecification(
    {HandleUncaughtErrorHandler handleUncaughtError,
    RunHandler run,
    RunUnaryHandler runUnary,
    RunBinaryHandler runBinary,
    RegisterCallbackHandler registerCallback,
    RegisterUnaryCallbackHandler registerUnaryCallback,
    RegisterBinaryCallbackHandler registerBinaryCallback,
    ErrorCallbackHandler errorCallback,
    ScheduleMicrotaskHandler scheduleMicrotask,
    CreateTimerHandler createTimer,
    CreatePeriodicTimerHandler createPeriodicTimer,
    PrintHandler print,
    ForkHandler fork}) = _ZoneSpecification;