getSelection method Null safety

Selection? getSelection ()
override

Implementation

Selection? getSelection() native;