ZoneConfiguration class
Zone configuration, takes in itself:
- onZoneError zone error handler;
- zoneValues local data for a specific zone;
- zoneSpecification zone specification;
- Annotations
Constructors
-
ZoneConfiguration({required OnError onZoneError, Map<
Object, Object> ? zoneValues, ZoneSpecification? zoneSpecification}) -
Zone configuration, takes in itself:
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onZoneError → OnError
-
The
onError
function is used both to handle asynchronous errors by overriding ZoneSpecification.handleUncaughtError in zoneSpecification, if any, and to handle errors thrown synchronously by the call tobody
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zoneSpecification → ZoneSpecification?
-
A parameter object with custom zone function handlers for Zone.fork.
final
-
zoneValues
→ Map<
Object, Object> ? -
Local zone values
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited