isFramework property

bool get isFramework

Whether this frame is in the framework rather than the application.

Implementation

bool get isFramework {
  final String? library = uri;
  if (library == null) return false;
  for (final String prefix in frameworkPrefixes) {
    if (library.startsWith(prefix)) return true;
  }
  return false;
}