documentedWhere property

DocumentLocation documentedWhere

Implementation

DocumentLocation get documentedWhere {
  if (_documentedWhere == null) {
    if (isLocal) {
      if (isPublic) {
        _documentedWhere = DocumentLocation.local;
      }
    } else {
      if (config.linkToRemote &&
          config.linkToUrl.isNotEmpty &&
          isPublic &&
          !packageGraph.config.isPackageExcluded(name)) {
        _documentedWhere = DocumentLocation.remote;
      } else {
        _documentedWhere = DocumentLocation.missing;
      }
    }
  }
  return _documentedWhere;
}