definingLibrary property

Library definingLibrary

Implementation

Library get definingLibrary {
  var library = packageGraph.findButDoNotCreateLibraryFor(element);
  if (library == null) {
    warn(PackageWarning.noDefiningLibraryFound);
  }
  return library;
}