# ZoneSpecification constructor

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

Creates a specification with the provided handlers.

## Implementation

    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;