isPackageUri method

bool isPackageUri(
  1. Uri uri
)

Returns true if uri is a package URI.

Implementation

static bool isPackageUri(Uri uri) {
  return uri.scheme == PACKAGE_SCHEME;
}