1. Dart
2. dart:mirrors
3. DeclarationMirror
4. isTopLevel property

##### DeclarationMirror class

1. Constructors
2. DeclarationMirror
3. Properties
4. hashCode
5. isPrivate
6. isTopLevel
7. location
8. metadata
9. owner
10. qualifiedName
11. runtimeType
12. simpleName
13. Methods
14. noSuchMethod
15. toString
16. Operators
17. operator ==

description

# isTopLevel property Null safety

bool isTopLevel

Whether this declaration is top-level.

A declaration is considered top-level if its owner is a LibraryMirror.

## Implementation

    bool get isTopLevel;