copyWith method
Returns a copy with selected fields replaced.
Implementation
UriOptions copyWith({
String? defaultScheme,
bool? coerceBareDomainsToDefaultScheme,
bool? allowRelative,
}) => UriOptions(
defaultScheme: defaultScheme ?? this.defaultScheme,
coerceBareDomainsToDefaultScheme:
coerceBareDomainsToDefaultScheme ??
this.coerceBareDomainsToDefaultScheme,
allowRelative: allowRelative ?? this.allowRelative,
);