toUri method

Uri? toUri()

get Uri from string

Implementation

Uri? toUri() {
  if (this == null) {
    return null;
  }
  return Uri.parse(this!);
}