mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:11:19 +00:00
More consistently use parent
in zone.fork doc
The doc refers to the `this` as "this", "parent", "current zone", and "forking zone". Fix a typo "current's zone" -> "parent zone's". Change-Id: I6d61ad5c69c2cc415ce7271831c7a364715b0652 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/274280 Reviewed-by: Lasse Nielsen <lrn@google.com> Auto-Submit: Nate Bosch <nbosch@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com>
This commit is contained in:
parent
2fbb93fc11
commit
c58297b756
|
@ -676,7 +676,7 @@ abstract class Zone {
|
||||||
/// Creates a new zone as a child zone of this zone.
|
/// Creates a new zone as a child zone of this zone.
|
||||||
///
|
///
|
||||||
/// The new zone uses the closures in the given [specification] to override
|
/// The new zone uses the closures in the given [specification] to override
|
||||||
/// the current's zone behavior. All specification entries that are `null`
|
/// the parent zone's behavior. All specification entries that are `null`
|
||||||
/// inherit the behavior from the parent zone (`this`).
|
/// inherit the behavior from the parent zone (`this`).
|
||||||
///
|
///
|
||||||
/// The new zone inherits the stored values (accessed through [operator []])
|
/// The new zone inherits the stored values (accessed through [operator []])
|
||||||
|
@ -684,7 +684,7 @@ abstract class Zone {
|
||||||
/// adds new values or overrides existing ones.
|
/// adds new values or overrides existing ones.
|
||||||
///
|
///
|
||||||
/// Note that the fork operation is interceptable. A zone can thus change
|
/// Note that the fork operation is interceptable. A zone can thus change
|
||||||
/// the zone specification (or zone values), giving the forking zone full
|
/// the zone specification (or zone values), giving the parent zone full
|
||||||
/// control over the child zone.
|
/// control over the child zone.
|
||||||
Zone fork(
|
Zone fork(
|
||||||
{ZoneSpecification? specification, Map<Object?, Object?>? zoneValues});
|
{ZoneSpecification? specification, Map<Object?, Object?>? zoneValues});
|
||||||
|
|
Loading…
Reference in a new issue