1. Dart
2. dart:html
3. DocumentOrShadowRoot
4. getSelection method

##### DocumentOrShadowRoot class

1. Properties
2. activeElement
3. fullscreenElement
4. hashCode
5. pointerLockElement
6. runtimeType
7. styleSheets
8. Methods
9. elementFromPoint
10. elementsFromPoint
11. getSelection
12. noSuchMethod
13. toString
14. Operators
15. operator ==

description

# getSelection method Null safety

Selection? getSelection ()

## Implementation

    Selection? getSelection() native;