visitLibraryElement method
Implementation
@override
visitLibraryElement(LibraryElement element) {
//not working
assert(location == null);
location = element.location!.components.first;
}
@override
visitLibraryElement(LibraryElement element) {
//not working
assert(location == null);
location = element.location!.components.first;
}