toSafeUri method

Uri toSafeUri()

Cleans the current string and parses it as a Uri object.

Implementation

Uri toSafeUri() {
  return Uri.parse(toSafeUrl());
}