package property
Returns the name of the package this stack frame comes from, or null if
this stack frame doesn't come from a package: URL.
Implementation
String? get package {
  if (uri.scheme != 'package') return null;
  return uri.path.split('/').first;
}