toUri method

Uri? toUri()

Implementation

Uri? toUri() {
  try {
    return Uri.parse(this);
  } catch (_) {
    return null;
  }
}