global property

void global= (HttpOverrides? overrides)

The HttpOverrides to use in the root Zone.

These are the HttpOverrides that will be used in the root Zone, and in Zone's that do not set HttpOverrides and whose ancestors up to the root Zone do not set HttpOverrides.

Implementation

static set global(HttpOverrides? overrides) {
  _global = overrides;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/HttpOverrides/global.html