bool inSameErrorZone(
Zone otherZone
)

Returns true if this and otherZone are in the same error zone.

Two zones are in the same error zone if they inherit their handleUncaughtError callback from the same errorZone.

Source

/**
 * Returns true if `this` and [otherZone] are in the same error zone.
 *
 * Two zones are in the same error zone if they inherit their
 * [handleUncaughtError] callback from the same [errorZone].
 */
bool inSameErrorZone(Zone otherZone);