Creates a deep copy
XUri copyWith({Uri? uri, String? name}) { return XUri(uri: uri ?? this.uri, name: name ?? this.name); }