with$ method
Derive a new Uri from this Uri.
let file = Uri.parse('before:some/file/path');
let other = file.with({ scheme: 'after' });
assert.ok(other.toString() === 'after:some/file/path');
@param change An object that describes a change to this Uri. To unset components use null
or
the empty string.
@returns A new Uri that reflects the given change. Will return this
Uri if the change
is not changing anything.
Implementation
_i3.Uri with$(_i3.IInline6 change) => _i5.callMethod(
this,
'with',
[change],
);