getURI static method

Uri getURI(
  1. String path
)

Implementation

static Uri getURI(String path) {
  if (path.startsWith('http')) return Uri.parse(path);
  return Uri.parse(Methods.getURL(path));
}