Dart SDK
dart:async
ZoneSpecification
ZoneSpecification.from
constructor
ZoneSpecification.from
ZoneSpecification
Properties
handleUncaughtError
run
runUnary
runBinary
registerCallback
registerUnaryCallback
registerBinaryCallback
errorCallback
scheduleMicrotask
createTimer
createPeriodicTimer
print
fork
Constructors
ZoneSpecification
from
ZoneSpecification.from
(
ZoneSpecification
other
,
{
dynamic
handleUncaughtError
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
error
,
StackTrace
stackTrace
):
null
,
dynamic
run
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
dynamic
f
()
):
null
,
dynamic
runUnary
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
dynamic
f
(
arg
)
,
arg
):
null
,
dynamic
runBinary
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
dynamic
f
(
arg1
,
arg2
)
,
arg1
,
arg2
):
null
,
ZoneCallback
registerCallback
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
dynamic
f
()
):
null
,
ZoneUnaryCallback
registerUnaryCallback
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
dynamic
f
(
arg
)
):
null
,
ZoneBinaryCallback
registerBinaryCallback
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
dynamic
f
(
arg1
,
arg2
)
):
null
,
AsyncError
errorCallback
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
Object
error
,
StackTrace
stackTrace
)
,
void
scheduleMicrotask
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
dynamic
f
()
):
null
,
Timer
createTimer
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
Duration
duration
,
void
f
()
):
null
,
Timer
createPeriodicTimer
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
Duration
period
,
void
f
(
Timer
timer
)
):
null
,
void
print
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
String
line
):
null
,
Zone
fork
(
Zone
self
,
ZoneDelegate
parent
,
Zone
zone
,
ZoneSpecification
specification
,
Map
zoneValues
):
null
}
)
Creates a specification from other with the provided handlers overriding the ones in other.