getFullLibraryPathFromElement static method

String getFullLibraryPathFromElement({
  1. required Element? element,
})

calculates the full library path

Implementation

static String getFullLibraryPathFromElement({
  required Element? element,
}) {
  return element?.librarySource?.fullName ?? '';
}