getSelection method Null safety

Selection? getSelection()

Implementation

Selection? getSelection() native;