removeFragment method Null safety

Uri removeFragment()

Creates a Uri that differs from this only in not having a fragment.

If this Uri does not have a fragment, it is itself returned.

Implementation

Uri removeFragment();