merge method

UriOptions merge(
  1. UriOptions other
)

Returns a new UriOptions that prefers other's settings.

Implementation

UriOptions merge(UriOptions other) => UriOptions(
  defaultScheme: other.defaultScheme ?? defaultScheme,
  coerceBareDomainsToDefaultScheme: other.coerceBareDomainsToDefaultScheme,
  allowRelative: other.allowRelative,
);