defaultPolicy property Null safety
The default CORS policy.
You may modify this default policy. All instances of CORSPolicy are instantiated using the values of this default policy. Do not modify this property unless you want the defaults to change application-wide.
Implementation
static CORSPolicy get defaultPolicy {
return _defaultPolicy ??= CORSPolicy._defaults();
}