Code example for URI

Methods: relativizeresolve

0
        if (fileUri != null) {
          uri = fileUri;
        } 
      } 
      return createDartSource(uri, relPath, this, packageLibraryManager);
    } catch (Throwable e) {
      return null; 
    } 
  } 
 
  /** 
   * Create a URL library source.  
   *  
   * (Clients can override.) 
   *  
   * @param uri the URI of the library 
   * @param relPath relative path to the dart source 
   * @param libSource the library source 
   * @param packageManager the package library manager 
   * @return the resulting dart source 
   */