bool allowsUri(
String uri
)

Checks if the uri is allowed on the specified attribute.

The uri provided may or may not be a relative path.

Source

/**
 * Checks if the uri is allowed on the specified attribute.
 *
 * The uri provided may or may not be a relative path.
 */
bool allowsUri(String uri);