libraryPath<E extends Element> function

ElementPropertyAcessor<E, String?> libraryPath<E extends Element>()

Implementation

ElementPropertyAcessor<E, String?> libraryPath<E extends Element>() {
  return FunctionalPropertyAccessor<E, String?>(
    description: 'library path',
    getter: (element) => element.firstFragment.libraryFragment?.source.uri.path,
  );
}