library property

String library

Returns a human-friendly description of the library that this stack frame comes from.

This will usually be the string form of uri, but a relative URI will be used if possible. Data URIs will be truncated.

Implementation

String get library {
  if (uri.scheme == 'data') return 'data:...';
  return path.prettyUri(uri);
}